Help: Add missing versionadded 3.21 for file(RENAME) options

This commit is contained in:
Craig Scott
2021-06-28 15:54:49 +10:00
parent 6372e74ed4
commit 52dec01729

View File

@ -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.