aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-10-19 22:28:06 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-10-19 22:28:06 +0000
commitdf8b3de794a9ffc5ab738115cee06a6267143014 (patch)
tree5818d62ef16fefe16ea1b4e412ad06a50c87f599 /util-linux
parentcd4b2a8d2251b1e03f66fce0d0fa683d1057c3b2 (diff)
downloadbusybox-w32-df8b3de794a9ffc5ab738115cee06a6267143014.tar.gz
busybox-w32-df8b3de794a9ffc5ab738115cee06a6267143014.tar.bz2
busybox-w32-df8b3de794a9ffc5ab738115cee06a6267143014.zip
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]
git-svn-id: svn://busybox.net/trunk/busybox@1206 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/getopt.c16
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! */
307static const char *shortopts="+ao:l:n:qQs:Tu"; 307static const char *shortopts="+ao:l:n:qQs:Tu";
308 308
309static 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
326int getopt_main(int argc, char *argv[]) 310int getopt_main(int argc, char *argv[])
327{ 311{