HelpFlag adds a default Help Options group to the parser containing -h and --help options. When either -h or --help is specified on the command line, the parser will return the special error of type ErrHelp. When PrintErrors is also specified, then the help message will also be automatically printed to os.Stderr.

HelpFlag is referenced in 1 repository