-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Missing YAML for Arg::last #1173
Comments
Ah, thanks! I'm not at a computer right now, but this will be a quick fix once I can get to one. |
@kbknapp Will this fix go into v2.*? |
Yes, I'll put out v2.29.5 shortly which will include it 😉 |
Awesome, thank you! |
@AndrewGaspar this fix was published under v2.30.0 which is on crates.io now |
Excellent, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rust Version
rustc 1.23.0 (766bd11c8 2018-01-01)
Affected Version of clap
Expected Behavior Summary
The YAML should allow you to specify an arg with
last: true
, marking it as thelast
argumentActual Behavior Summary
YAML fails to parse with this error:
Steps to Reproduce the issue
Create a new clap App from a YAML file.
Example:
cli.yml
main.rs
Debug output
The text was updated successfully, but these errors were encountered: