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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#73772: closed ([PATCH] cp,mv: align the descriptions of long
 options)
Date: Sat, 12 Oct 2024 16:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 12 Oct 2024 17:49:18 +0100
with message-id <afc94ad7-d5c1-4a11-bca0-bfae0d619184 <at> draigBrady.com>
and subject line Re: bug#73772: [PATCH] cp,mv: align the descriptions of long options
has caused the debbugs.gnu.org bug report #73772,
regarding [PATCH] cp,mv: align the descriptions of long options
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
73772: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73772
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Masatake YAMATO <yamato <at> redhat.com>
To: bug-coreutils <at> gnu.org
Cc: yamato <at> redhat.com
Subject: [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



[Message part 3 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Masatake YAMATO <yamato <at> redhat.com>, 73772-done <at> debbugs.gnu.org
Subject: Re: bug#73772: [PATCH] cp,mv: align the descriptions of long options
Date: Sat, 12 Oct 2024 17:49:18 +0100
On 12/10/2024 17:28, Masatake YAMATO wrote:
> * 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);

Pushed.

thanks!
Pádraig


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.