From 074fbdb73f052212003ef65804c3532380c76dcd Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sat, 29 Jun 2019 22:05:22 +1000 Subject: Help: Clean up trivial typos and grammar --- Help/command/execute_process.rst | 2 +- Help/command/list.rst | 23 ++++++++++------------ Help/manual/cmake.1.rst | 4 ++-- Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst | 2 +- .../CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.rst | 6 +++--- 5 files changed, 17 insertions(+), 20 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 `` The command being run will be echo'ed to ```` with ```` - being set to ``STDERR``|``STDOUT``|``NONE``. + being set to one of ``STDERR``, ``STDOUT`` or ``NONE``. ``ENCODING `` 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 ]) Transforms the list by applying an action to all or, by specifying a -````, to the selected elements of the list, storing result in-place -or in the specified output variable. +````, 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 ```` 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. -```` 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 ```` may be one of: +```` 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. ```` 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 REPLACE ...) -```` select which elements of the list will be transformed. Only one -type of selector can be specified at a time. - -The ```` may be one of: +```` determines which elements of the list will be transformed. +Only one type of selector can be specified at a time. When given, +```` must be one of the following: ``AT``: Specify a list of indexes. diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 13cba71..dccf797 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -333,13 +333,13 @@ The options are: Project binary directory to install. This is required and must be first. ``--config `` - For multi-configuration tools, choose configuration ````. + For multi-configuration generators, choose configuration ````. ``--component `` Component-based install. Only install component ````. ``--prefix `` - The installation prefix :variable:`CMAKE_INSTALL_PREFIX`. + Override the installation prefix, :variable:`CMAKE_INSTALL_PREFIX`. ``--strip`` Strip before installing by setting ``CMAKE_INSTALL_DO_STRIP``. diff --git a/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst b/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst index 893a298..b6f6160 100644 --- a/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst +++ b/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst @@ -13,5 +13,5 @@ part of the ``make clean`` target. Arguments to :prop_dir:`ADDITIONAL_MAKE_CLEAN_FILES` may use :manual:`generator expressions `. -This property only works for the the Makefile generators. +This property only works for the Makefile generators. It is ignored on other generators. diff --git a/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.rst b/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.rst index 4a3121c..76561d8 100644 --- a/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.rst +++ b/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.rst @@ -1,6 +1,6 @@ CMAKE_EXECUTE_PROCESS_COMMAND_ECHO ---------------------------------- -If this variable is set to ``STDERR``|``STDOUT``|``NONE`` then commands in -:command:`execute_process` calls will be printed to either stderr or stdout -or not at all. +If this variable is set to ``STDERR``, ``STDOUT`` or ``NONE`` then commands +in :command:`execute_process` calls will be printed to either stderr or +stdout or not at all. -- cgit v0.12