diff options
author | Mark Whitley <markw@lineo.com> | 2000-10-19 22:28:06 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-10-19 22:28:06 +0000 |
commit | 6050618096ab058d29264a6d6b604275b44121bb (patch) | |
tree | 5818d62ef16fefe16ea1b4e412ad06a50c87f599 /util-linux | |
parent | 69229a6c92a2d73bcee7c06eb79bd0a4f40d4e16 (diff) | |
download | busybox-w32-6050618096ab058d29264a6d6b604275b44121bb.tar.gz busybox-w32-6050618096ab058d29264a6d6b604275b44121bb.tar.bz2 busybox-w32-6050618096ab058d29264a6d6b604275b44121bb.zip |
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/getopt.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c index 919ae6c68..8c94bb4c1 100644 --- a/util-linux/getopt.c +++ b/util-linux/getopt.c | |||
@@ -306,22 +306,6 @@ static struct option longopts[]= | |||
306 | /* Stop scanning as soon as a non-option argument is found! */ | 306 | /* Stop scanning as soon as a non-option argument is found! */ |
307 | static const char *shortopts="+ao:l:n:qQs:Tu"; | 307 | static const char *shortopts="+ao:l:n:qQs:Tu"; |
308 | 308 | ||
309 | static const char getopt_usage[] = | ||
310 | "getopt [OPTIONS]...\n" | ||
311 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
312 | "Parse command options\n" | ||
313 | " -a, --alternative Allow long options starting with single -\n" | ||
314 | " -l, --longoptions=longopts Long options to be recognized\n" | ||
315 | " -n, --name=progname The name under which errors are reported\n" | ||
316 | " -o, --options=optstring Short options to be recognized\n" | ||
317 | " -q, --quiet Disable error reporting by getopt(3)\n" | ||
318 | " -Q, --quiet-output No normal output\n" | ||
319 | " -s, --shell=shell Set shell quoting conventions\n" | ||
320 | " -T, --test Test for getopt(1) version\n" | ||
321 | " -u, --unqote Do not quote the output\n" | ||
322 | #endif | ||
323 | ; | ||
324 | |||
325 | 309 | ||
326 | int getopt_main(int argc, char *argv[]) | 310 | int getopt_main(int argc, char *argv[]) |
327 | { | 311 | { |