From 8bfa34b78e30a2fbc49e7eb67dde7b412ead9305 Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Sat, 5 Sep 2015 15:56:43 +0800 Subject: Help: Fix typo in get_filename_component docs trailing slahes -> trailing slashes --- Help/command/get_filename_component.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst index 82f9120..14c8cf2 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. -- cgit v0.12