From bf5ba002c20578a5bdc9599b250cdad5468fa9ab Mon Sep 17 00:00:00 2001 From: Bernhard Voelker Date: Thu, 16 Feb 2012 13:29:44 +0100 Subject: doc: improve 'rm -f' description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- src/rm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 (_("\ -- cgit v1.2.3-70-g09d2