From 812274ff49135c80fb4562742d0889002119221d Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sun, 9 Apr 2017 07:01:30 +1000 Subject: Help: Clarify what the -f option does for the remove command Closes: #16784 --- Help/manual/cmake.1.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 063aea1..37e50d2 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -263,8 +263,10 @@ Available commands are: 052f86c15bbde68af55c7f7b340ab639 file2.txt ``remove [-f] ...`` - Remove the file(s), use ``-f`` to force it. If a file does - not exist it will be silently ignored. + Remove the file(s). If any of the listed files already do not + exist, the command returns a non-zero exit code, but no message + is logged. The ``-f`` option changes the behavior to return a + zero exit code (i.e. success) in such situations instead. ``remove_directory `` Remove a directory and its contents. If a directory does -- cgit v0.12