Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintSections ¶
func PrintSections(w io.Writer, fss NamedFlagSets, cols int)
PrintSections prints the given names flag sets in sections, with the maximal given column number. If cols is zero, lines are not wrapped.
func WordSepNormalizeFunc ¶
func WordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName
WordSepNormalizeFunc changes all flags that contain "_" separators.
Types ¶
Click to show internal directories.
Click to hide internal directories.