aboutsummaryrefslogtreecommitdiff
path: root/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'getopt.c')
-rw-r--r--getopt.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/getopt.c b/getopt.c
index 919ae6c68..8c94bb4c1 100644
--- a/getopt.c
+++ b/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{