package
Version:
v1.3.5
Opens a new window with list of versions in this module.
Published: Aug 11, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
InitFlags normalizes and parses the command line flags
func WarnWordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName
WarnWordSepNormalizeFunc changes and warns for flags that contain "_" separators
func WordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName
WordSepNormalizeFunc changes all flags that contain "_" separators
Tristate is a flag compatible with flags and pflags that
keeps track of whether it had a value supplied or not.
const (
Unset Tristate = iota
True
False
)
func (f *Tristate) Default(value bool)
func (f Tristate) Provided() bool
func (f *Tristate) Set(value string) error
func (f Tristate) String() string
func (f *Tristate) Type() string
func (f Tristate) Value() bool
Source Files
¶
Click to show internal directories.
Click to hide internal directories.