GNU bug report logs - #73772
[PATCH] cp,mv: align the descriptions of long options

Previous Next

Package: coreutils;

Reported by: Masatake YAMATO <yamato <at> redhat.com>

Date: Sat, 12 Oct 2024 16:31:01 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Masatake YAMATO <yamato <at> redhat.com>
To: 73772 <at> debbugs.gnu.org
Cc: yamato <at> redhat.com
Subject: bug#73772: [PATCH] cp,mv: align the descriptions of long options
Date: Sun, 13 Oct 2024 01:28:10 +0900
* src/cp.c (usage): Adjust white spaces for --update.
* src/mv.c (usage): Ditto.
---
 src/cp.c | 2 +-
 src/mv.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cp.c b/src/cp.c
index 1c4fd5c20..127b5603f 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -227,7 +227,7 @@ Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n\
   -T, --no-target-directory    treat DEST as a normal file\n\
 "), stdout);
       fputs (_("\
-  --update[=UPDATE]            control which existing files are updated;\n\
+      --update[=UPDATE]        control which existing files are updated;\n\
                                  UPDATE={all,none,none-fail,older(default)}\n\
   -u                           equivalent to --update[=older].  See below\n\
 "), stdout);
diff --git a/src/mv.c b/src/mv.c
index 806cb3a11..490c99c23 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -294,7 +294,7 @@ If you specify more than one of -i, -f, -n, only the final one takes effect.\n\
   -T, --no-target-directory    treat DEST as a normal file\n\
 "), stdout);
       fputs (_("\
-  --update[=UPDATE]            control which existing files are updated;\n\
+      --update[=UPDATE]        control which existing files are updated;\n\
                                  UPDATE={all,none,none-fail,older(default)}\n\
   -u                           equivalent to --update[=older].  See below\n\
 "), stdout);
-- 
2.46.2





This bug report was last modified 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.