Add long options for platform and random (#10776)

This commit is contained in:
Hofer-Julian
2023-10-19 22:04:33 +02:00
committed by GitHub
parent 030e55acbf
commit 4fd2b702ee
9 changed files with 12 additions and 12 deletions

View File

@ -54,7 +54,7 @@ impl Command for SubCommand {
},
Example {
description: "Generate random chars with specified length",
example: "random chars -l 20",
example: "random chars --length 20",
result: None,
},
]

View File

@ -60,7 +60,7 @@ impl Command for SubCommand {
},
Example {
description: "Roll 10 dice with 12 sides each",
example: "random dice -d 10 -s 12",
example: "random dice --dice 10 --sides 12",
result: None,
},
]