GNU bug report logs - #10369
coreutils: [PATCH] chmod.c usage() order items alphabetically

Previous Next

Package: coreutils;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Mon, 26 Dec 2011 09:46: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: Jim Meyering <jim <at> meyering.net>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 10369 <at> debbugs.gnu.org
Subject: bug#10369: coreutils: [PATCH] doc: homologize ch{con, grp, mod, own} option descriptions
Date: Mon, 26 Dec 2011 22:44:32 +0100
Pádraig Brady wrote:
> On 12/26/2011 11:11 AM, Pádraig Brady wrote:
>> On 12/26/2011 10:25 AM, Paul Eggert wrote:
>>> On 12/26/11 02:20, Pádraig Brady wrote:
>>>
>>>> chcon, chgrp need the same adjustment.
>>>> Note I'd prefer to keep -R and -v together
>>>> as they're more general than --ref and
>>>> can use the same translations.
>>>
>>> If we're going to list options in some order
>>> than alphabetically (which often makes sense),
>>> shouldn't -c, -f, and -v be kept together?
>>> This would be for the same reason that --no-preserve-root
>>> and --preserve-root are kept together: they're related
>>> options.
>>
>> Agreed. I'll adjust like:
>>
>> -c, -f, -v
>> --{no-,}preserve-root
>> --recursive
>> --reference
>> --$command_specific
>> --help
>> --version
>
> That attached patch handles this,
> and fixes an issue where --dereference
> was not documented in `chcon`

Thanks!

> Subject: [PATCH] doc: homologize ch{con,grp,mod,own} option descriptions
>
> * src/chgrp.c (usage): Group associated options together
> and minimize the individual messages between these four utils.

minimize differences between?

> * src/chmod.c: Likewise.
> * src/chown.c: Likewise.
> * src/chcon.c (usage): Likewise.  Add documention for
> the --dereference option.
>
> Suggested by Paul Eggert and Jari Aalto




This bug report was last modified 13 years and 150 days ago.

Previous Next


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