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


Message #10 received at 73772-done <at> debbugs.gnu.org (full text, mbox):

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.