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.
23 lines
470 B
Plaintext
23 lines
470 B
Plaintext
DESCRIPTION:
|
|
The dog command.
|
|
|
|
USAGE:
|
|
myapp <AGE> [LEGS] [OPTIONS]
|
|
|
|
EXAMPLES:
|
|
myapp --name Rufus --age 12 --good-boy
|
|
myapp --name Luna
|
|
myapp --name Charlie
|
|
myapp --name Bella
|
|
myapp --name Daisy
|
|
myapp --name Milo
|
|
|
|
ARGUMENTS:
|
|
<AGE>
|
|
[LEGS] The number of legs
|
|
|
|
OPTIONS:
|
|
-h, --help Prints help information
|
|
-a, --alive Indicates whether or not the animal is alive
|
|
-n, --name <VALUE>
|
|
-g, --good-boy |