Documentation ¶
Index ¶
- func IgnoreDurationFlags(fs *pflag.FlagSet, flagNames []string, usage string)
- func IgnoreIntFlags(fs *pflag.FlagSet, flagNames []string, usage string)
- func IgnoreStringFlags(fs *pflag.FlagSet, flagNames []string, usage string)
- func RenameIntFlag(fs *pflag.FlagSet, flagVar *int, oldName, newName string, defaultVal int, ...)
- func RenameStringFlag(fs *pflag.FlagSet, flagVar *string, oldName, newName, defaultVal, usage string)
- func RenameStringSliceFlag(fs *pflag.FlagSet, flagVar *[]string, oldName, newName string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreDurationFlags ¶ added in v0.21.16
func IgnoreIntFlags ¶ added in v0.21.16
func IgnoreStringFlags ¶ added in v0.21.16
func RenameIntFlag ¶
func RenameStringFlag ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.