diff options
author | Mark Whitley | 2000-10-19 22:28:06 +0000 |
---|---|---|
committer | Mark Whitley | 2000-10-19 22:28:06 +0000 |
commit | 6050618096ab058d29264a6d6b604275b44121bb (patch) | |
tree | 5818d62ef16fefe16ea1b4e412ad06a50c87f599 /applets/usage.c | |
parent | 69229a6c92a2d73bcee7c06eb79bd0a4f40d4e16 (diff) | |
download | busybox-6050618096ab058d29264a6d6b604275b44121bb.zip busybox-6050618096ab058d29264a6d6b604275b44121bb.tar.gz |
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]
Diffstat (limited to 'applets/usage.c')
-rw-r--r-- | applets/usage.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c index 1132643..7e3ea81 100644 --- a/applets/usage.c +++ b/applets/usage.c @@ -375,6 +375,24 @@ const char fsck_minix_usage[] = ; #endif +#if defined BB_GETOPT +const char getopt_usage[] = +"getopt [OPTIONS]...\n" +#ifndef BB_FEATURE_TRIVIAL_HELP +"Parse command options\n" +" -a, --alternative Allow long options starting with single -\n" +" -l, --longoptions=longopts Long options to be recognized\n" +" -n, --name=progname The name under which errors are reported\n" +" -o, --options=optstring Short options to be recognized\n" +" -q, --quiet Disable error reporting by getopt(3)\n" +" -Q, --quiet-output No normal output\n" +" -s, --shell=shell Set shell quoting conventions\n" +" -T, --test Test for getopt(1) version\n" +" -u, --unqote Do not quote the output\n" +#endif +; +#endif + #if defined BB_GREP const char grep_usage[] = "grep [-ihHnqvs] pattern [files...]\n" @@ -1472,3 +1490,4 @@ const char yes_usage[] = #endif ; #endif + |