summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2012-02-16 13:29:44 +0100
committerJim Meyering <meyering@redhat.com>2012-02-16 14:54:49 +0100
commitbf5ba002c20578a5bdc9599b250cdad5468fa9ab (patch)
tree1610185baf4170887a6ff1b7b63665dad0ae8329 /src/rm.c
parent4bb5dbcfef55c4f66755dd3c48b906e4e9030b96 (diff)
downloadcoreutils-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 'src/rm.c')
-rw-r--r--src/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index db525d02c..02809f214 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -135,7 +135,7 @@ usage (int status)
fputs (_("\
Remove (unlink) the FILE(s).\n\
\n\
- -f, --force ignore nonexistent files, never prompt\n\
+ -f, --force ignore nonexistent files and arguments, never prompt\n\
-i prompt before every removal\n\
"), stdout);
fputs (_("\