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

Indicate the default value even when allowedHelp is passed #10

Closed
nex3 opened this issue Apr 22, 2015 · 1 comment
Closed

Indicate the default value even when allowedHelp is passed #10

nex3 opened this issue Apr 22, 2015 · 1 comment
Labels
type-enhancement A request for a change that isn't a bug

Comments

@nex3
Copy link
Member

nex3 commented Apr 22, 2015

Currently, if allowedHelp and default are both passed to ArgParser.addOption(), the help output doesn't indicate what the default value is. For example:

-r, --runner                   The runner used to print test results.

          [compact]            A single line, updated continuously.
          [expanded]           A separate line for each update.

Output like the following would be better:

-r, --runner                   The runner used to print test results.

      [compact (default)]      A single line, updated continuously.
      [expanded]               A separate line for each update.
@nex3 nex3 added the type-enhancement A request for a change that isn't a bug label Apr 22, 2015
@natebosch
Copy link
Member

Closed with #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants