diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2012-02-16 13:29:44 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-02-16 14:54:49 +0100 |
commit | bf5ba002c20578a5bdc9599b250cdad5468fa9ab (patch) | |
tree | 1610185baf4170887a6ff1b7b63665dad0ae8329 /doc | |
parent | 4bb5dbcfef55c4f66755dd3c48b906e4e9030b96 (diff) | |
download | coreutils-bf5ba002c20578a5bdc9599b250cdad5468fa9ab.tar.xz |
doc: improve 'rm -f' description
* doc/coreutils.texi (rm invocation): Mention that the -f option also
silences the message for missing operands, which is useful in scripts
e.g., for "rm -f $file_list" when $file_list is empty.
* src/rm.c (usage): Likewise.
Reported by Jérémy Magrin in http://bugs.gnu.org/10819
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 02c3a2a5d..8c6a2870f 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8769,7 +8769,7 @@ The program accepts the following options. Also see @ref{Common options}. @itemx --force @opindex -f @opindex --force -Ignore nonexistent files and never prompt the user. +Ignore nonexistent files and missing operands, and never prompt the user. Ignore any previous @option{--interactive} (@option{-i}) option. @item -i |