summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-06-28 05:54:49 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-07-03 07:10:09 (GMT)
commit52dec01729c2afc0f4ffc04286ac5aec043e35aa (patch)
tree1f06a1211895d3124e5bfd0be70ca16a3a43aecc /Help
parent6372e74ed4808f9cb6f2385cc4d8325e22a9fdb6 (diff)
downloadCMake-52dec01729c2afc0f4ffc04286ac5aec043e35aa.zip
CMake-52dec01729c2afc0f4ffc04286ac5aec043e35aa.tar.gz
CMake-52dec01729c2afc0f4ffc04286ac5aec043e35aa.tar.bz2
Help: Add missing versionadded 3.21 for file(RENAME) options
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index b6ed416..8ce27ff 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -703,10 +703,14 @@ Move a file or directory within a filesystem from ``<oldname>`` to
The options are:
``RESULT <result>``
+ .. versionadded:: 3.21
+
Set ``<result>`` variable to ``0`` on success or an error message otherwise.
If ``RESULT`` is not specified and the operation fails, an error is emitted.
``NO_REPLACE``
+ .. versionadded:: 3.21
+
If the ``<newname>`` path already exists, do not replace it.
If ``RESULT <result>`` is used, the result variable will be
set to ``NO_REPLACE``. Otherwise, an error is emitted.