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
827 B
Plaintext
25 lines
827 B
Plaintext
DESCRIPTION:
|
|
The lion command.
|
|
|
|
UTILISATION:
|
|
myapp <TEETH> [LEGS] [OPTIONS] [COMMANDE]
|
|
|
|
EXEMPLES:
|
|
myapp 20 --alive
|
|
|
|
ARGUMENTS:
|
|
<TEETH> The number of teeth the lion has
|
|
[LEGS] The number of legs
|
|
|
|
OPTIONS:
|
|
DÉFAUT
|
|
-h, --help Affiche l'aide
|
|
-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
|
|
|
|
COMMANDES:
|
|
giraffe <LENGTH> The giraffe command |