INNER CODE UNIT · Go
getopt_place
lh3/gfatools · gfa-server.go:55
getopt_place = -1
return -1, ""
}
if optind < len(args) {
getopt_place = 0
}
if getopt_place + 1 < len(args[optind]) {
getopt_place += 1
if args[optind][getopt_place] == '-' { // found "--"
optind += 1
getopt_place = -1
return -1, ""
}
}
}
optopt := args[optind][getopt_place];
getopt_place += 1
oli, arg := strings.IndexByte(ostr, optopt), "";