diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst index 82f912002..14c8cf279 100644 --- a/Help/command/get_filename_component.rst +++ b/Help/command/get_filename_component.rst @@ -19,7 +19,7 @@ Set ```` to a component of ````, where ```` is one of: NAME_WE = File name without directory or longest extension PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11) -Paths are returned with forward slashes and have no trailing slahes. +Paths are returned with forward slashes and have no trailing slashes. The longest file extension is always considered. If the optional ``CACHE`` argument is specified, the result variable is added to the cache.