From ac5213acbae8ab2e17589acc7c89b88b2d0e62ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Mon, 23 Sep 2024 21:44:38 +0100 Subject: [PATCH] doc: remove extraneous periods from option --help * src/df.c (usage): Remove period from --help description. * src/cksum.c (usage): Likewise. * src/cp.c (usage): Likewise. * src/mkdir.c (usage): Likewise. * src/mv.c (usage): Likewise. * src/tee.c (usage): Likewise. --- src/cp.c | 2 +- src/df.c | 6 +++++- src/digest.c | 2 +- src/mkdir.c | 2 +- src/mv.c | 2 +- src/tee.c | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/cp.c b/src/cp.c index 5d30c2ebd..1c4fd5c20 100644 --- a/src/cp.c +++ b/src/cp.c @@ -228,7 +228,7 @@ Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n\ "), stdout); fputs (_("\ --update[=UPDATE] control which existing files are updated;\n\ - UPDATE={all,none,none-fail,older(default)}.\n\ + UPDATE={all,none,none-fail,older(default)}\n\ -u equivalent to --update[=older]. See below\n\ "), stdout); fputs (_("\ diff --git a/src/df.c b/src/df.c index 994f0e322..7f26ea1ca 100644 --- a/src/df.c +++ b/src/df.c @@ -1553,8 +1553,12 @@ or all file systems by default.\n\ "), stdout); fputs (_("\ --output[=FIELD_LIST] use the output format defined by FIELD_LIST,\n\ - or print all fields if FIELD_LIST is omitted.\n\ + or print all fields if FIELD_LIST is omitted\n\ +"), stdout); + fputs (_("\ -P, --portability use the POSIX output format\n\ +"), stdout); + fputs (_("\ --sync invoke sync before getting usage info\n\ "), stdout); fputs (_("\ diff --git a/src/digest.c b/src/digest.c index 821e96139..37910ede6 100644 --- a/src/digest.c +++ b/src/digest.c @@ -446,7 +446,7 @@ Print or check %s (%d-bit) checksums.\n\ #endif #if HASH_ALGO_CKSUM fputs (_("\ - -a, --algorithm=TYPE select the digest type to use. See DIGEST below.\ + -a, --algorithm=TYPE select the digest type to use. See DIGEST below\ \n\ "), stdout); fputs (_("\ diff --git a/src/mkdir.c b/src/mkdir.c index 6861a02c9..9b52b0efc 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -64,7 +64,7 @@ Create the DIRECTORY(ies), if they do not already exist.\n\ fputs (_("\ -m, --mode=MODE set file mode (as in chmod), not a=rwx - umask\n\ -p, --parents no error if existing, make parent directories as needed,\n\ - with their file modes unaffected by any -m option.\n\ + with their file modes unaffected by any -m option\n\ -v, --verbose print a message for each created directory\n\ "), stdout); fputs (_("\ diff --git a/src/mv.c b/src/mv.c index 692943a70..806cb3a11 100644 --- a/src/mv.c +++ b/src/mv.c @@ -295,7 +295,7 @@ If you specify more than one of -i, -f, -n, only the final one takes effect.\n\ "), stdout); fputs (_("\ --update[=UPDATE] control which existing files are updated;\n\ - UPDATE={all,none,none-fail,older(default)}.\n\ + UPDATE={all,none,none-fail,older(default)}\n\ -u equivalent to --update[=older]. See below\n\ "), stdout); fputs (_("\ diff --git a/src/tee.c b/src/tee.c index eb074427c..fb33dd671 100644 --- a/src/tee.c +++ b/src/tee.c @@ -92,7 +92,7 @@ Copy standard input to each FILE, and also to standard output.\n\ -i, --ignore-interrupts ignore interrupt signals\n\ "), stdout); fputs (_("\ - -p operate in a more appropriate MODE with pipes.\n\ + -p operate in a more appropriate MODE with pipes\n\ --output-error[=MODE] set behavior on write error. See MODE below\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); -- 2.11.4.GIT