summaryrefslogtreecommitdiffstats
path: root/getopt
diff options
context:
space:
mode:
authorKarel Zak2011-08-16 12:06:45 +0200
committerKarel Zak2011-08-16 12:06:45 +0200
commitabcddf0003bb1b00307d29940740f1e6c4c3b652 (patch)
treeb5dbfb5b001b862273b2b8a2c1bbd003ecfcb463 /getopt
parenthwclock: use <var> in usage() (diff)
downloadkernel-qcow2-util-linux-abcddf0003bb1b00307d29940740f1e6c4c3b652.tar.gz
kernel-qcow2-util-linux-abcddf0003bb1b00307d29940740f1e6c4c3b652.tar.xz
kernel-qcow2-util-linux-abcddf0003bb1b00307d29940740f1e6c4c3b652.zip
getopt: use <var> in usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'getopt')
-rw-r--r--getopt/getopt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/getopt/getopt.c b/getopt/getopt.c
index e66bee9bc..3a3105229 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 <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(_(" -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 <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);