summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-06-28 15:54:49 +1000
committerCraig Scott <craig.scott@crascit.com>2021-07-03 17:10:09 +1000
commit52dec01729c2afc0f4ffc04286ac5aec043e35aa (patch)
tree1f06a1211895d3124e5bfd0be70ca16a3a43aecc
parent6372e74ed4808f9cb6f2385cc4d8325e22a9fdb6 (diff)
downloadcmake-52dec01729c2afc0f4ffc04286ac5aec043e35aa.tar.gz
Help: Add missing versionadded 3.21 for file(RENAME) options
-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 b6ed41660f..8ce27ff092 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.