summaryrefslogtreecommitdiffstats
path: root/Help/command/string.rst
diff options
context:
space:
mode:
authorNikita Nemkin <nikita@nemkin.ru>2020-11-10 14:53:41 (GMT)
committerNikita Nemkin <nikita@nemkin.ru>2020-11-12 04:44:01 (GMT)
commita19058d7d8f86c8f91e294f6fc520fe97841e721 (patch)
tree2c5a2b6bb8c61a80146ee1fe1205a12ff0873e34 /Help/command/string.rst
parent8b9497e3e52cfa23a1ba64f08db7f4ef9b602382 (diff)
downloadCMake-a19058d7d8f86c8f91e294f6fc520fe97841e721.zip
CMake-a19058d7d8f86c8f91e294f6fc520fe97841e721.tar.gz
CMake-a19058d7d8f86c8f91e294f6fc520fe97841e721.tar.bz2
Help: Replace some `versionadded` directives with `versionchanged`
`.. versionchanged` directive might be more appropriate when documentation refers to previous CMake version, old behavior or a policy, and there's no new parameter or a variable involved. Issue: #19715
Diffstat (limited to 'Help/command/string.rst')
-rw-r--r--Help/command/string.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index 9b459b4..178d9d3 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -281,7 +281,7 @@ Store in an ``<output_variable>`` a substring of a given ``<string>``. If
``<length>`` is ``-1`` the remainder of the string starting at ``<begin>``
will be returned.
-.. versionadded:: 3.2
+.. versionchanged:: 3.2
If ``<string>`` is shorter than ``<length>`` then the end of the string
is used instead. Previous versions of CMake reported an error in this case.