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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jari Aalto <jari.aalto <at> cante.net>
Subject: bug#10369: closed (Re: bug#10369: coreutils: [PATCH] chmod.c
 usage() order items alphabetically)
Date: Mon, 26 Dec 2011 10:23:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10369: coreutils: [PATCH] chmod.c usage() order items alphabetically

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10369 <at> debbugs.gnu.org.

-- 
10369: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10369
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Jari Aalto <jari.aalto <at> cante.net>
Cc: 10369-done <at> debbugs.gnu.org
Subject: Re: bug#10369: coreutils: [PATCH] chmod.c usage() order items
	alphabetically
Date: Mon, 26 Dec 2011 10:20:03 +0000
On 12/25/2011 04:36 PM, Jari Aalto wrote:
> 
> The following patch is against Git 6e3299f (2011-12-22). The patch makes
> chmod similar to cp(1), mv(1) whose manual page lists options in
> alphabetical order.
> 
> 2011-12-25  Jari Aalto  <jari.aalto <at> cante.net>
> 
> 	* chmod.c (usage): order options alphabetically.
> 

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.

I'll make those adjustments and commit.

cheers,
Pádraig.

[Message part 3 (message/rfc822, inline)]
From: Jari Aalto <jari.aalto <at> cante.net>
To: bug-coreutils <at> gnu.org
Subject: coreutils: [PATCH] chmod.c usage() order items alphabetically
Date: Sun, 25 Dec 2011 18:36:03 +0200
[Message part 4 (text/plain, inline)]
The following patch is against Git 6e3299f (2011-12-22). The patch makes
chmod similar to cp(1), mv(1) whose manual page lists options in
alphabetical order.

2011-12-25  Jari Aalto  <jari.aalto <at> cante.net>

	* chmod.c (usage): order options alphabetically.

[0001-src-chmod.c-usage-order-options-alphabetically.patch (text/x-diff, inline)]
From 2b5d42b0e19e6a6b73e2af3323ee4db6129ee72e Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto <at> cante.net>
Date: Sun, 25 Dec 2011 18:30:20 +0200
Subject: [PATCH] src/chmod.c: (usage): order options alphabetically
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aalto <at> cante.net>
---
 src/chmod.c |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/chmod.c b/src/chmod.c
index 6fec84a..411fd6e 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -379,16 +379,12 @@ Usage: %s [OPTION]... MODE[,MODE]... FILE...\n\
 Change the mode of each FILE to MODE.\n\
 \n\
   -c, --changes           like verbose but report only when a change is made\n\
-"), stdout);
-      fputs (_("\
+  -f, --silent, --quiet   suppress most error messages\n\
       --no-preserve-root  do not treat `/' specially (the default)\n\
       --preserve-root     fail to operate recursively on `/'\n\
-"), stdout);
-      fputs (_("\
-  -f, --silent, --quiet   suppress most error messages\n\
-  -v, --verbose           output a diagnostic for every file processed\n\
-      --reference=RFILE   use RFILE's mode instead of MODE values\n\
   -R, --recursive         change files and directories recursively\n\
+      --reference=RFILE   use RFILE's mode instead of MODE values\n\
+  -v, --verbose           output a diagnostic for every file processed\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-- 
1.7.7.3


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.