From 6050618096ab058d29264a6d6b604275b44121bb Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Thu, 19 Oct 2000 22:28:06 +0000 Subject: Put getopt_usage where it belongs and added *_usage entries in busybox.[ch] --- util-linux/getopt.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'util-linux/getopt.c') 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[]= /* Stop scanning as soon as a non-option argument is found! */ static const char *shortopts="+ao:l:n:qQs:Tu"; -static 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 -; - int getopt_main(int argc, char *argv[]) { -- cgit v1.2.3