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


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 6402 <at> debbugs.gnu.org
Subject: bug#6402: [PATCH] rm: remove no-op -d option
Date: Fri, 17 Sep 2010 08:46:18 -0600
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.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




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.