var flag.CommandLine
35 uses
flag (current package)
flag.go#L401: CommandLine.VisitAll(fn)
flag.go#L415: CommandLine.Visit(fn)
flag.go#L426: return CommandLine.formal[name]
flag.go#L448: return CommandLine.Set(name, value)
flag.go#L561: CommandLine.PrintDefaults()
flag.go#L588: fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0])
flag.go#L596: func NFlag() int { return len(CommandLine.actual) }
flag.go#L612: return CommandLine.Arg(i)
flag.go#L619: func NArg() int { return len(CommandLine.args) }
flag.go#L625: func Args() []string { return CommandLine.args }
flag.go#L636: CommandLine.Var(newBoolValue(value, p), name, usage)
flag.go#L650: return CommandLine.Bool(name, value, usage)
flag.go#L662: CommandLine.Var(newIntValue(value, p), name, usage)
flag.go#L676: return CommandLine.Int(name, value, usage)
flag.go#L688: CommandLine.Var(newInt64Value(value, p), name, usage)
flag.go#L702: return CommandLine.Int64(name, value, usage)
flag.go#L714: CommandLine.Var(newUintValue(value, p), name, usage)
flag.go#L728: return CommandLine.Uint(name, value, usage)
flag.go#L740: CommandLine.Var(newUint64Value(value, p), name, usage)
flag.go#L754: return CommandLine.Uint64(name, value, usage)
flag.go#L766: CommandLine.Var(newStringValue(value, p), name, usage)
flag.go#L780: return CommandLine.String(name, value, usage)
flag.go#L792: CommandLine.Var(newFloat64Value(value, p), name, usage)
flag.go#L806: return CommandLine.Float64(name, value, usage)
flag.go#L820: CommandLine.Var(newDurationValue(value, p), name, usage)
flag.go#L836: return CommandLine.Duration(name, value, usage)
flag.go#L850: CommandLine.Func(name, usage, fn)
flag.go#L886: CommandLine.Var(value, name, usage)
flag.go#L1022: CommandLine.Parse(os.Args[1:])
flag.go#L1027: return CommandLine.Parsed()
flag.go#L1033: var CommandLine = NewFlagSet(os.Args[0], ExitOnError)
flag.go#L1040: CommandLine.Usage = commandLineUsage
golang.org/x/pkgsite/cmd/prober
main.go#L198: fmt.Fprintf(flag.CommandLine.Output(), "usage: %s [flags]\n", os.Args[0])
golang.org/x/pkgsite/devtools/cmd/csphash
main.go#L26: fmt.Fprintf(flag.CommandLine.Output(), "usage: %s [flags] FILES\n", os.Args[0])
main.go#L27: fmt.Fprintf(flag.CommandLine.Output(), "suggestion for FILES: content/static/html/**/*.tmpl\n")
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |