You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
+1 on this. Thought we had a bug in our implementation but it seems to be the way clap handles versions for subcommands. It can be overridden with a .version on each subcommand, but my feeling is that it should default to the parent's version. cloudflare/wrangler-legacy#791
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue by Geal
Thursday Nov 15, 2018 at 09:05 GMT
Originally opened as clap-rs/clap#1382
Rust Version
rustc 1.31.0-nightly (4bd4e4130 2018-10-25)
Affected Version of clap
2.32.0
Bug or Feature Request Summary
Passing the
--version
flag after one or more subcommands should not append the subcommand names to the process nameExpected Behavior Summary
Actual Behavior Summary
Sample Code or Link to Sample Code
Debug output
Compile clap with cargo features
"debug"
such as:Output for:
./target/debug/clap-test test --version
:Debug Output
this does not look like a critical bug, but it still feels weird :)
The text was updated successfully, but these errors were encountered: