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? 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
app.arg(Arg::with_name("dummy").possible_value("some val").required(false).hidden(true));
Results in
USAGE: app [dummy] [SUBCOMMAND] FLAGS: ... ARGS: { EMPTY } SUBCOMMANDS: ...
Additional comments:
If possible_value is used, USAGE ought to display the possible value instead of arg name?
possible_value
USAGE
N/A
2.20.5
The text was updated successfully, but these errors were encountered:
Thanks for reporting, this should be an easy fix!
Sorry, something went wrong.
fix: doesn't include the various [ARGS] [FLAGS] or [OPTIONS] if the o…
7b4000a
…nly ones available are hidden Closes #882
fix(help): don't show ARGS when there are only hidden positional args
1ff3098
Also no need to check for Hidden inside for that already is filtered on !Hidden. Closes #882
957e55c
539ad60
8adf353
No branches or pull requests
app.arg(Arg::with_name("dummy").possible_value("some val").required(false).hidden(true));
Results in
Additional comments:
If
possible_value
is used,USAGE
ought to display the possible value instead of arg name?Rust Version
N/A
Affected Version of clap
2.20.5
The text was updated successfully, but these errors were encountered: