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.
25 lines
835 B
Plaintext
25 lines
835 B
Plaintext
BESCHREIBUNG:
|
|
The lion command.
|
|
|
|
VERWENDUNG:
|
|
myapp <TEETH> [LEGS] [OPTIONEN] [KOMMANDO]
|
|
|
|
BEISPIELE:
|
|
myapp 20 --alive
|
|
|
|
ARGUMENTE:
|
|
<TEETH> The number of teeth the lion has
|
|
[LEGS] The number of legs
|
|
|
|
OPTIONEN:
|
|
STANDARDWERT
|
|
-h, --help Zeigt Hilfe an
|
|
-a, --alive Indicates whether or not the animal is alive
|
|
-n, --name <VALUE>
|
|
--agility <VALUE> 10 The agility between 0 and 100
|
|
-c <CHILDREN> The number of children the lion has
|
|
-d <DAY> Monday, Thursday The days the lion goes hunting
|
|
-w, --weight [WEIGHT] The weight of the lion, in kgs
|
|
|
|
KOMMANDOS:
|
|
giraffe <LENGTH> The giraffe command |