diff options
Diffstat (limited to 'getopt.c')
-rw-r--r-- | getopt.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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 | { |