mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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
This commit is contained in:
1 parent
4bb5dbcfef
commit
bf5ba002c2
3 files changed
+3
-2
No files matched your search
@@ -276,6 +276,7 @@ Jens Elkner elkner@imsgroup.de
|
||||
Jens Schmidt jms@jsds.hamburg.com
|
||||
Jeph Cowan jeph@ucar.edu
|
||||
Jeremy Maitin-Shepard jbms@cmu.edu
|
||||
Jérémy Magrin jeremy.magrin@epitech.eu
|
||||
Jerome Abela abela@hsc.fr
|
||||
Jérôme Zago bug-coreutils-ml@agt-the-walker.net
|
||||
Jesse Kornblum kornblum@usna.edu
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user