-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Cargo run] passing arguments to the binary works unexpectedly #2213
Comments
Huh, I thought this was a fixed bug... cc @BurntSushi |
I would have thought so too given this test. There might be something else going on with two uses of |
I have additional info: If a flag is passed to both binaries, it works just as expected, if a flag is passed only to the "final" binary, it doesn't work. |
Triage: this is still a problem as far as I can tell.
and the last line should instead say:
|
This appears to be fixed in the latest nightly but not yet in stable. Using @carols10cents repro steps:
|
Extend dashes forwarding test Closes #2213 Looks like this was fixed when we've transitioned to clap!
@patricksjackson indeed! I've added a test for this in #5429 |
I'm trying to pass arguments to a binary that then passes arguments after -- to another binary.
I would expect cargo to run
target/debug/cargo-fmt -- --write-mode
The text was updated successfully, but these errors were encountered: