const offset … type HelpFlagPrinter … // NewHelpFlagPrinter will initialize a HelpFlagPrinter given the // i/o writer func NewHelpFlagPrinter(out io.Writer, wrapLimit uint) *HelpFlagPrinter { … } // PrintHelpFlag will beautify the help flags and print it out to p.out func (p *HelpFlagPrinter) PrintHelpFlag(flag *flag.Flag) { … } // writeFlag will output the help flag based // on the format provided by getFlagFormat to i/o writer func writeFlag(out io.Writer, f *flag.Flag) { … }