summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-10 09:53:14 -0400
committerBrad King <brad.king@kitware.com>2017-04-10 09:53:14 -0400
commit07cc72502d25a0bdeeeaf9e4b52b56e6c01bc3cb (patch)
tree59f01bff90ef7297a596cae290f64d9c388d7c3c
parent861f3465b4ec639da329ac7bdd4128de5acb46fe (diff)
parent812274ff49135c80fb4562742d0889002119221d (diff)
downloadcmake-07cc72502d25a0bdeeeaf9e4b52b56e6c01bc3cb.tar.gz
Merge branch 'clarifyRemoveDocs' into release
-rw-r--r--Help/manual/cmake.1.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 063aea16db..37e50d2fa6 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] <file>...``
- 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 <dir>``
Remove a directory and its contents. If a directory does