From: Karel Zak Date: Tue, 16 Aug 2011 10:06:45 +0000 (+0200) Subject: getopt: use in usage() X-Git-Tag: v2.20-rc2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abcddf0003bb1b00307d29940740f1e6c4c3b652;p=thirdparty%2Futil-linux.git getopt: use in usage() Signed-off-by: Karel Zak --- diff --git a/getopt/getopt.c b/getopt/getopt.c index e66bee9bc5..3a31052290 100644 --- a/getopt/getopt.c +++ b/getopt/getopt.c @@ -322,12 +322,12 @@ static void __attribute__ ((__noreturn__)) print_help(void) fputs(_("\nOptions:\n"), stderr); fputs(_(" -a, --alternative Allow long options starting with single -\n"), stderr); fputs(_(" -h, --help This small usage guide\n"), stderr); - fputs(_(" -l, --longoptions=longopts Long options to be recognized\n"), stderr); - fputs(_(" -n, --name=progname The name under which errors are reported\n"), stderr); - fputs(_(" -o, --options=optstring Short options to be recognized\n"), stderr); + fputs(_(" -l, --longoptions Long options to be recognized\n"), stderr); + fputs(_(" -n, --name The name under which errors are reported\n"), stderr); + fputs(_(" -o, --options Short options to be recognized\n"), stderr); fputs(_(" -q, --quiet Disable error reporting by getopt(3)\n"), stderr); fputs(_(" -Q, --quiet-output No normal output\n"), stderr); - fputs(_(" -s, --shell=shell Set shell quoting conventions\n"), stderr); + fputs(_(" -s, --shell Set shell quoting conventions\n"), stderr); fputs(_(" -T, --test Test for getopt(1) version\n"), stderr); fputs(_(" -u, --unquote Do not quote the output\n"), stderr); fputs(_(" -V, --version Output version information\n"), stderr);