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 #23 received at 6402 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Eric Blake <eblake <at> redhat.com>
Cc: 6402 <at> debbugs.gnu.org
Subject: Re: bug#6402: [PATCH] rm: remove no-op -d option
Date: Fri, 17 Sep 2010 11:13:25 +0200
Eric Blake wrote:
> * src/rm.c (long_opts, main): Resolve a fixme.
> * NEWS: Document the change.
> Based on a report by William Plusnick.
> ---
>
> 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.




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

Previous Next


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