Documentation
¶
Index ¶
Constants ¶
View Source
const ( // None indicates no options. None Options = goflags.None // HelpFlag adds a default Help Options group to the parser containing // -h and --help options. HelpFlag = goflags.HelpFlag // PassDoubleDash passes all arguments after a double dash, --, as // remaining command line arguments. PassDoubleDash = goflags.PassDoubleDash // IgnoreUnknown ignores any unknown options and passes them as // remaining command line arguments instead of generating an error. IgnoreUnknown = goflags.IgnoreUnknown // PrintErrors prints any errors which occurred during parsing to // os.Stderr. PrintErrors = goflags.PrintErrors // PassAfterNonOption passes all arguments after the first non option // as remaining command line arguments. PassAfterNonOption = goflags.PassAfterNonOption // AllowBoolValues allows a user to assign true/false to a boolean value. AllowBoolValues = goflags.AllowBoolValues // Default is a convenient default set of options. Default = goflags.Default )
Option constants re-exported from go-flags.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.