summaryrefslogtreecommitdiffstats
path: root/Help/command/if.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/if.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/if.rst')
-rw-r--r--Help/command/if.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst
index 3b01463..72d328d 100644
--- a/Help/command/if.rst
+++ b/Help/command/if.rst
@@ -281,7 +281,7 @@ above-documented condition syntax accepts ``<variable|string>``:
tested to see if they are boolean constants, if so they are used as
such, otherwise they are assumed to be variables and are dereferenced.
-.. versionadded:: 3.1
+.. versionchanged:: 3.1
To prevent ambiguity, potential variable or keyword names can be
specified in a :ref:`Quoted Argument` or a :ref:`Bracket Argument`.
A quoted or bracketed variable or keyword will be interpreted as a