8 func usage(retval int) {
9 fmt.Printf("print-code-points: prints out the code points in a unicode string.\n" +
11 "usage: print-code-points <string>\n")
16 if (len(os.Args) != 2) {
20 for pos, codePoint := range str {
21 fmt.Printf("Code Point 0x%04x: '%s'\n", codePoint, str[pos:pos+1])