coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] nproc: fix indentation of usage output


From: Pádraig Brady
Subject: Re: [PATCH] nproc: fix indentation of usage output
Date: Sun, 10 May 2015 21:16:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 10/05/15 20:25, Andreas Schwab wrote:
> * src/nproc.c (usage): Align output.
> ---
>  src/nproc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/nproc.c b/src/nproc.c
> index 63c78cd..8118415 100644
> --- a/src/nproc.c
> +++ b/src/nproc.c
> @@ -61,8 +61,8 @@ which may be less than the number of online processors\n\
>  \n\
>  "), stdout);
>        fputs (_("\
> -     --all       print the number of installed processors\n\
> -     --ignore=N  if possible, exclude N processing units\n\
> +      --all      print the number of installed processors\n\
> +      --ignore=N if possible, exclude N processing units\n\
>  "), stdout);
>  
>        fputs (HELP_OPTION_DESCRIPTION, stdout);
> 

Not having 2 spaces between the option and description
will break man page generation by help2man.
Also there any _many_ more misalignments like this.
Look at comm --help for example.
There was a previously discussed change to programmatically
align the output, though that would be invasive for
translations at least, but might be considered for
the next major version.

cheers,
Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]