# Functions
Arg returns the i'th command-line argument.
Args returns the non-flag command-line arguments.
Bool defines a bool flag with specified name, default value, and usage string.
BoolVar defines a bool flag with specified name, default value, and usage string.
Duration defines a time.Duration flag with specified name, default value, and usage string.
DurationVar defines a time.Duration flag with specified name, default value, and usage string.
Float64 defines a float64 flag with specified name, default value, and usage string.
Float64Var defines a float64 flag with specified name, default value, and usage string.
Int defines an int flag with specified name, default value, and usage string.
Int64 defines an int64 flag with specified name, default value, and usage string.
Int64Var defines an int64 flag with specified name, default value, and usage string.
IntVar defines an int flag with specified name, default value, and usage string.
Lookup returns the Flag structure of the named command-line flag, returning nil if none exists.
NArg is the number of arguments remaining after flags have been processed.
NewFlagSet returns a new, empty flag set with the specified name and error handling property.
NFlag returns the number of command-line flags that have been set.
Parse parses the command-line flags from os.Args[1:].
Parsed reports whether the command-line flags have been parsed.
PrintDefaults prints, to standard error unless configured otherwise, a usage message showing the default settings of all defined command-line flags.
Set sets the value of the named command-line flag.
String defines a string flag with specified name, default value, and usage string.
StringVar defines a string flag with specified name, default value, and usage string.
Uint defines a uint flag with specified name, default value, and usage string.
Uint64 defines a uint64 flag with specified name, default value, and usage string.
Uint64Var defines a uint64 flag with specified name, default value, and usage string.
UintVar defines a uint flag with specified name, default value, and usage string.
UnquoteUsage extracts a back-quoted name from the usage string for a flag and returns it and the un-quoted usage.
Var defines a flag with the specified name and usage string.
Visit visits the command-line flags in lexicographical order, calling fn for each.
VisitAll visits the command-line flags in lexicographical order, calling fn for each.
# Constants
Return a descriptive error.
Call os.Exit(2).
Call panic with a descriptive error.
# Variables
CommandLine is the default set of command-line flags, parsed from os.Args.
ErrHelp is the error returned if the -help or -h flag is invoked but no such flag is defined.
Usage prints a usage message documenting all defined command-line flags to CommandLine's output, which by default is os.Stderr.
# Type aliases
ErrorHandling defines how FlagSet.Parse behaves if the parse fails.