We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Given
package main import "os" import "github.com/jessevdk/go-flags" type group struct { M bool `long:"a-very-long-option-name" description:"cue 'long long man' song"` } type options struct { A bool `short:"a" description:"output should be aligned"` G group `group:"Group" hidden:"yes"` Z bool `short:"z" description:"operator is asleep"` } func main() { flags.NewParser(&options{}, 0).WriteHelp(os.Stdout) }
you get
Usage: bug4 Application Options: -a output should be aligned -z operator is asleep
The text was updated successfully, but these errors were encountered:
71064e1
Merge pull request #279 from chipaca/no-hidden-short-align
9c49a33
fix #278
No branches or pull requests
Given
you get
The text was updated successfully, but these errors were encountered: