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
1.48.0
2.33.3
Using rust edition 2018:
fn main() { let yaml = clap::load_yaml!("cli.yml"); let matches = App::from_yaml(yaml).get_matches(); }
cli.yaml:
version: "1.0" author: Tester <[email protected]> about: parse command line parameters args: - config: short: c long: config value_name: FILE help: Sets a custom config file takes_value: true
side note: why can I not make this window bigger (using Firefox)!! Very annoying :-(
cargo run -- --help
Only the built-in help from clap is shown with the only parameters -h & -V
Expect everything to work with the name of the of the program simply the one from Cargo.toml: package.name
package.name
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #1338. You did not search for issues.
Sorry, something went wrong.
Thanks for looking into it so quickly. Sorry, I did search but it was not successful indeed :p
No branches or pull requests
Please complete the following tasks
Rust Version
1.48.0
Clap Version
2.33.3
Minimal reproducible code
Using rust edition 2018:
cli.yaml:
side note: why can I not make this window bigger (using Firefox)!! Very annoying :-(
Steps to reproduce the bug with the above code
cargo run -- --help
Actual Behaviour
Only the built-in help from clap is shown with the only parameters -h & -V
Expected Behaviour
Expect everything to work with the name of the of the program simply the one from Cargo.toml:
package.name
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: