GNU bug report logs - #6402
[PATCH] rm: added --directory (-d) option

Previous Next

Package: coreutils;

Reported by: Eric Blake <eblake <at> redhat.com>

Date: Fri, 11 Jun 2010 15:15:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


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

From: Jim Meyering <jim <at> meyering.net>
To: 6402-done <at> debbugs.gnu.org
Subject: Re: bug#6402: [PATCH] rm: remove no-op -d option
Date: Sun, 17 Apr 2011 11:01:26 +0200
Eric Blake wrote:
> On 09/17/2010 03:13 AM, Jim Meyering wrote:
>>> Jim, what do you think of this alternative patch, which avoids the
>>> issue of a new translation string by instead letting getopt parsing
>>> reject -d like any other unknown option?
>>
>> I like it.  Thank you.
>>
>> ...
>>> --- a/NEWS
>> ...
>>> +  rm -d now issues an error rather than being silently ignored.
>>
>> How about a slight change in wording to make clear
>> that the entire "rm" command was not being ignored.
>>
>>    rm's -d now evokes an error;  before, it was silently ignored.
>
> Pushed with that change.

Closing.




This bug report was last modified 14 years and 36 days ago.

Previous Next


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