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 打印部分中的给定名称标志集,具有最大的给定列号。 如果 cols 为零,则不换行。
func WordSepNormalizeFunc ¶
func WordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName
WordSepNormalizeFunc 更改所有包含“_”分隔符的标志。
Types ¶
Click to show internal directories.
Click to hide internal directories.