diff options
Diffstat (limited to 'usage.c')
-rw-r--r-- | usage.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -375,6 +375,24 @@ const char fsck_minix_usage[] = | |||
375 | ; | 375 | ; |
376 | #endif | 376 | #endif |
377 | 377 | ||
378 | #if defined BB_GETOPT | ||
379 | const char getopt_usage[] = | ||
380 | "getopt [OPTIONS]...\n" | ||
381 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
382 | "Parse command options\n" | ||
383 | " -a, --alternative Allow long options starting with single -\n" | ||
384 | " -l, --longoptions=longopts Long options to be recognized\n" | ||
385 | " -n, --name=progname The name under which errors are reported\n" | ||
386 | " -o, --options=optstring Short options to be recognized\n" | ||
387 | " -q, --quiet Disable error reporting by getopt(3)\n" | ||
388 | " -Q, --quiet-output No normal output\n" | ||
389 | " -s, --shell=shell Set shell quoting conventions\n" | ||
390 | " -T, --test Test for getopt(1) version\n" | ||
391 | " -u, --unqote Do not quote the output\n" | ||
392 | #endif | ||
393 | ; | ||
394 | #endif | ||
395 | |||
378 | #if defined BB_GREP | 396 | #if defined BB_GREP |
379 | const char grep_usage[] = | 397 | const char grep_usage[] = |
380 | "grep [-ihHnqvs] pattern [files...]\n" | 398 | "grep [-ihHnqvs] pattern [files...]\n" |
@@ -1472,3 +1490,4 @@ const char yes_usage[] = | |||
1472 | #endif | 1490 | #endif |
1473 | ; | 1491 | ; |
1474 | #endif | 1492 | #endif |
1493 | |||