mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-12-26 15:10:40 +05:30
main.c: CLI: usage: add help case
This commit is contained in:
parent
cb8c06286c
commit
0380d97c0f
@ -190,6 +190,8 @@ int main(int argc, char** argv) {
|
||||
char* program_name = my_basename(argv[0]);
|
||||
printf(
|
||||
"Usage: %s <file to corrupt> [parameters] [options]\n"
|
||||
" OR\n"
|
||||
" %s <-h | -help | --help>\n"
|
||||
"\n"
|
||||
"Both parameters and options are optional.\n"
|
||||
"\n"
|
||||
@ -232,6 +234,7 @@ int main(int argc, char** argv) {
|
||||
"to keep it\n"
|
||||
" random, set the option to `random`.\n",
|
||||
program_name,
|
||||
program_name,
|
||||
UINT16_MAX,
|
||||
probability,
|
||||
threshold,
|
||||
|
Loading…
Reference in New Issue
Block a user