summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2016-02-19 17:48:20 +0100
committerBrad King <brad.king@kitware.com>2016-02-19 13:03:09 -0500
commitb347503028a639103f27fcd2752b133993bb30ec (patch)
treec4d690eb709f31664c0a39ba492a89df8060de34
parenta5a5a6857241c21d306661d723b749839f4c6e1a (diff)
downloadcmake-b347503028a639103f27fcd2752b133993bb30ec.tar.gz
Help: Clarify `cmake -E` command behavior with respect to file existence
-rw-r--r--Help/manual/cmake.1.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 91af3e3db3..92f52302cf 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -199,16 +199,19 @@ Available commands are:
``make_directory <dir>...``
Create ``<dir>`` directories. If necessary, create parent
- directories too.
+ directories too. If a directory already exists it will be
+ silently ignored.
``md5sum <file>...``
Compute md5sum of files.
``remove [-f] <file>...``
- Remove the file(s), use ``-f`` to force it.
+ Remove the file(s), use ``-f`` to force it. If a file does
+ not exist it will be silently ignored.
``remove_directory <dir>``
- Remove a directory and its contents.
+ Remove a directory and its contents. If a directory does
+ not exist it will be silently ignored.
``rename <oldname> <newname>``
Rename a file or directory (on one volume).
@@ -241,7 +244,8 @@ Available commands are:
Touch a file.
``touch_nocreate <file>``
- Touch a file if it exists but do not create it.
+ Touch a file if it exists but do not create it. If a file does
+ not exist it will be silently ignored.
UNIX-specific Command-Line Tools
--------------------------------