From c0e05671d38a6d2af73388ec46ab7d539f89c59b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 10 Nov 2020 10:06:24 -0500 Subject: 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. --- Help/command/get_filename_component.rst | 4 ++-- 1 file 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 ```` to a component of ````, where ```` 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. -- cgit v0.12