mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00

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.
14 lines
266 B
Plaintext
14 lines
266 B
Plaintext
--------------------------------------
|
|
--- CUSTOM HELP PROVIDER ---
|
|
--------------------------------------
|
|
|
|
USAGE:
|
|
myapp [OPTIONS] <COMMAND>
|
|
|
|
OPTIONS:
|
|
-h, --help Prints help information
|
|
|
|
COMMANDS:
|
|
dog <AGE> The dog command
|
|
|
|
Version 1.0 |