diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-06-29 12:05:22 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-07-03 13:38:25 (GMT) |
commit | 074fbdb73f052212003ef65804c3532380c76dcd (patch) | |
tree | 1c7b9cd6f6e929a9398289b2e4fba1c5bf93f98d /Help/command | |
parent | 753373579e3dd8cf19f0fc18f4d9bec43a2d82e8 (diff) | |
download | CMake-074fbdb73f052212003ef65804c3532380c76dcd.zip CMake-074fbdb73f052212003ef65804c3532380c76dcd.tar.gz CMake-074fbdb73f052212003ef65804c3532380c76dcd.tar.bz2 |
Help: Clean up trivial typos and grammar
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/execute_process.rst | 2 | ||||
-rw-r--r-- | Help/command/list.rst | 23 |
2 files changed, 11 insertions, 14 deletions
diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst index e6ad037..b11d1ac 100644 --- a/Help/command/execute_process.rst +++ b/Help/command/execute_process.rst @@ -80,7 +80,7 @@ Options: ``COMMAND_ECHO <where>`` The command being run will be echo'ed to ``<where>`` with ``<where>`` - being set to ``STDERR``|``STDOUT``|``NONE``. + being set to one of ``STDERR``, ``STDOUT`` or ``NONE``. ``ENCODING <name>`` On Windows, the encoding that is used to decode output from the process. diff --git a/Help/command/list.rst b/Help/command/list.rst index 4444af7..866a597 100644 --- a/Help/command/list.rst +++ b/Help/command/list.rst @@ -207,20 +207,18 @@ but if duplicates are encountered, only the first instance is preserved. [OUTPUT_VARIABLE <output variable>]) Transforms the list by applying an action to all or, by specifying a -``<SELECTOR>``, to the selected elements of the list, storing result in-place -or in the specified output variable. +``<SELECTOR>``, to the selected elements of the list, storing the result +in-place or in the specified output variable. .. note:: - ``TRANSFORM`` sub-command does not change the number of elements of the + The ``TRANSFORM`` sub-command does not change the number of elements in the list. If a ``<SELECTOR>`` is specified, only some elements will be changed, - the other ones will remain same as before the transformation. + the other ones will remain the same as before the transformation. -``<ACTION>`` specify the action to apply to the elements of list. -The actions have exactly the same semantics as sub-commands of -:command:`string` command. - -The ``<ACTION>`` may be one of: +``<ACTION>`` specifies the action to apply to the elements of the list. +The actions have exactly the same semantics as sub-commands of the +:command:`string` command. ``<ACTION>`` must be one of the following: ``APPEND``, ``PREPEND``: Append, prepend specified value to each element of the list. @@ -261,10 +259,9 @@ of the list list(TRANSFORM <list> REPLACE <regular_expression> <replace_expression> ...) -``<SELECTOR>`` select which elements of the list will be transformed. Only one -type of selector can be specified at a time. - -The ``<SELECTOR>`` may be one of: +``<SELECTOR>`` determines which elements of the list will be transformed. +Only one type of selector can be specified at a time. When given, +``<SELECTOR>`` must be one of the following: ``AT``: Specify a list of indexes. |