mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-24 18:35:47 +08:00
Make -v|--version opt-in
We added an automatic version option in 0.49. We did this with good intentions, but forgot that people might already use --version as an option for a root command. This commit makes -v|--version completely opt-in.
This commit is contained in:
committed by
Patrik Svensson
parent
88515b7d7f
commit
3acc90e47c
@@ -1,9 +1,8 @@
|
||||
USAGE:
|
||||
USAGE:
|
||||
myapp [OPTIONS] <COMMAND>
|
||||
|
||||
OPTIONS:
|
||||
-h, --help Prints help information
|
||||
-v, --version Prints version information
|
||||
-h, --help Prints help information
|
||||
|
||||
COMMANDS:
|
||||
dog <AGE> The dog command
|
||||
|
||||
Reference in New Issue
Block a user