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
rustc 1.23.0-nightly (a35a3abcd 2017-11-10)
2.27.1
> target/debug/foo bar -h > target/debug/foo bar --help >
> target/debug/foo bar -h > target/debug/foo bar --help foo-bar USAGE: foo bar [FLAGS] FLAGS: -h --help -V, --version Prints version information >
extern crate clap; fn main() { let _ = clap::App::new("foo") .subcommand( clap::SubCommand::with_name("bar") .arg(clap::Arg::with_name("help1").short("h")) .arg(clap::Arg::with_name("help2").long("help")) ) .get_matches(); }
gist
The text was updated successfully, but these errors were encountered:
Thanks for filing this, it should be an easy fix!
Sorry, something went wrong.
a283d69
No branches or pull requests
Rust Version
rustc 1.23.0-nightly (a35a3abcd 2017-11-10)
Affected Version of clap
2.27.1
Expected Behavior Summary
Actual Behavior Summary
Sample Code or Link to Sample Code
Debug output
gist
The text was updated successfully, but these errors were encountered: