]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: remove extraneous periods from option --help
authorPádraig Brady <P@draigBrady.com>
Mon, 23 Sep 2024 20:44:38 +0000 (21:44 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 23 Sep 2024 21:12:37 +0000 (22:12 +0100)
* 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
src/df.c
src/digest.c
src/mkdir.c
src/mv.c
src/tee.c

index 5d30c2ebdf89e50f29ea84dc12004537e57809a4..1c4fd5c20cc65e89a1e59466bfcfb5be2a78c90b 100644 (file)
--- 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 (_("\
index 994f0e322f53137cbccb624a114b7ea4def69a21..7f26ea1caaf8d02c334264885b1aec66d4ae1444 100644 (file)
--- 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 (_("\
index 821e9613966cb48138398ef847617db398e2b296..37910ede66f0248e0c8e649bf68ae80fa13932a6 100644 (file)
@@ -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 (_("\
index 6861a02c91b2e41df383d08abddd3a5069368542..9b52b0efce3da6c7f655afc0c2d438a2162136a6 100644 (file)
@@ -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 (_("\
index 692943a70da8ae5ef8867f47bf4c85eba9df89f7..806cb3a1128795922a33dc71065444cf19c6b8c3 100644 (file)
--- 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 (_("\
index eb074427cb4afd975e14f30a5d53d8eb84c0fcb1..fb33dd6715528565281c3926fb55630a7baf3a59 100644 (file)
--- 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);