From 9396eb903752ad4a1375235f62dcb094a5ae2cf0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 28 Jun 2008 09:53:03 +0200 Subject: [PATCH] doc: add "..." to Usage, to indicate there may be multiple OPTIONs * src/base64.c (usage): Likewise. * src/cat.c (usage): Likewise. * src/md5sum.c (usage): Likewise. * src/mkdir.c (usage): Likewise. * src/mkfifo.c (usage): Likewise. * src/split.c (usage): Likewise. * src/stat.c (usage): Likewise. Heiko Marr reported the problem with mkdir. --- THANKS | 1 + src/base64.c | 2 +- src/cat.c | 2 +- src/md5sum.c | 2 +- src/mkdir.c | 2 +- src/mkfifo.c | 2 +- src/split.c | 2 +- src/stat.c | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/THANKS b/THANKS index b269dd909..40b33bada 100644 --- a/THANKS +++ b/THANKS @@ -213,6 +213,7 @@ Harald Dunkel harald.dunkel@t-online.de Harry Liu rliu@lek.ugcs.caltech.edu Harti Brandt brandt@fokus.fraunhofer.de Harvey Eneman Harvey.Eneman@oracle.com +Heiko Marr h.marr@webmasters.de Helen Faulkner helen_ml_faulkner@yahoo.co.uk Herbert Xu herbert@gondor.apana.org.au Holger Berger hberger@ess.nec.de diff --git a/src/base64.c b/src/base64.c index 416e573f6..bfbd9e051 100644 --- a/src/base64.c +++ b/src/base64.c @@ -57,7 +57,7 @@ usage (int status) else { printf (_("\ -Usage: %s [OPTION] [FILE]\n\ +Usage: %s [OPTION]... [FILE]\n\ Base64 encode or decode FILE, or standard input, to standard output.\n\ \n"), program_name); fputs (_("\ diff --git a/src/cat.c b/src/cat.c index d762f4549..9c1996a67 100644 --- a/src/cat.c +++ b/src/cat.c @@ -90,7 +90,7 @@ usage (int status) else { printf (_("\ -Usage: %s [OPTION] [FILE]...\n\ +Usage: %s [OPTION]... [FILE]...\n\ "), program_name); fputs (_("\ diff --git a/src/md5sum.c b/src/md5sum.c index a92113b35..238c02ee6 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -150,7 +150,7 @@ usage (int status) else { printf (_("\ -Usage: %s [OPTION] [FILE]...\n\ +Usage: %s [OPTION]... [FILE]...\n\ Print or check %s (%d-bit) checksums.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ diff --git a/src/mkdir.c b/src/mkdir.c index 9644f4c9f..e408f2975 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -55,7 +55,7 @@ usage (int status) program_name); else { - printf (_("Usage: %s [OPTION] DIRECTORY...\n"), program_name); + printf (_("Usage: %s [OPTION]... DIRECTORY...\n"), program_name); fputs (_("\ Create the DIRECTORY(ies), if they do not already exist.\n\ \n\ diff --git a/src/mkfifo.c b/src/mkfifo.c index 06075c8a8..690766b07 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -49,7 +49,7 @@ usage (int status) program_name); else { - printf (_("Usage: %s [OPTION] NAME...\n"), program_name); + printf (_("Usage: %s [OPTION]... NAME...\n"), program_name); fputs (_("\ Create named pipes (FIFOs) with the given NAMEs.\n\ \n\ diff --git a/src/split.c b/src/split.c index c70e0c4f2..85687c407 100644 --- a/src/split.c +++ b/src/split.c @@ -100,7 +100,7 @@ usage (int status) else { printf (_("\ -Usage: %s [OPTION] [INPUT [PREFIX]]\n\ +Usage: %s [OPTION]... [INPUT [PREFIX]]\n\ "), program_name); fputs (_("\ diff --git a/src/stat.c b/src/stat.c index a97687a87..491c190a4 100644 --- a/src/stat.c +++ b/src/stat.c @@ -908,7 +908,7 @@ usage (int status) program_name); else { - printf (_("Usage: %s [OPTION] FILE...\n"), program_name); + printf (_("Usage: %s [OPTION]... FILE...\n"), program_name); fputs (_("\ Display file or file system status.\n\ \n\ -- 2.34.1