diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-11-10 15:06:24 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-11-10 15:06:24 (GMT) |
commit | c0e05671d38a6d2af73388ec46ab7d539f89c59b (patch) | |
tree | 804450b18671e42f231fa825d56221be52e946ff /Help | |
parent | 0d182c02f615b7d593edfcfe096f92b1a3e5e81e (diff) | |
download | CMake-c0e05671d38a6d2af73388ec46ab7d539f89c59b.zip CMake-c0e05671d38a6d2af73388ec46ab7d539f89c59b.tar.gz CMake-c0e05671d38a6d2af73388ec46ab7d539f89c59b.tar.bz2 |
Help/get_filename_component: clarify NAME_W[L]E summaries
There was an ambiguity in the wording with the meaning of "or" typically
meaning exclusive-or in prose. Instead, ensure that the easiest parsing
is clear that the directory part is always removed.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/get_filename_component.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst index 368d3bb..ea2dedb 100644 --- a/Help/command/get_filename_component.rst +++ b/Help/command/get_filename_component.rst @@ -14,9 +14,9 @@ Sets ``<var>`` to a component of ``<FileName>``, where ``<mode>`` is one of: DIRECTORY = Directory without file name NAME = File name without directory EXT = File name longest extension (.b.c from d/a.b.c) - NAME_WE = File name without directory or longest extension + NAME_WE = File name with neither the directory nor the longest extension LAST_EXT = File name last extension (.c from d/a.b.c) - NAME_WLE = File name without directory or last extension + NAME_WLE = File name with neither the directory nor the last extension PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11) Paths are returned with forward slashes and have no trailing slashes. |