Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative options don't display well in --help output #11

Open
cgay opened this issue Dec 2, 2013 · 1 comment
Open

Negative options don't display well in --help output #11

cgay opened this issue Dec 2, 2013 · 1 comment

Comments

@cgay
Copy link
Member

cgay commented Dec 2, 2013

This option

  add-option(parser,
             make(<flag-option>,
                  names: #("show-tests", "t"),
                  negative-names: #("quiet", "q"),
                  default: #t,
                  help: "Show each test result as tests complete."));

is displayed like this:

  -t, -q, --show-tests, --quiet   Show each test result as tests complete.

It should somehow make clear which options turn off the flag and which turn it on.

@cgay
Copy link
Member Author

cgay commented Jan 14, 2025

Also, the list of option names needs to have a maximum width because -t, -q, --show-tests, --quiet pushes the bulk of the help text way over to the right. Would be nice to have a library for producing columnar text output that makes this easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant