summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Meng <i@cicku.me>2015-09-05 07:56:43 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-08 15:36:06 (GMT)
commit8bfa34b78e30a2fbc49e7eb67dde7b412ead9305 (patch)
treee3e1d34607ddbff4013aa2959ddadce96e1aa11a
parent2a8813d62c1bc7b8789b71469356222f5cde5c00 (diff)
downloadCMake-8bfa34b78e30a2fbc49e7eb67dde7b412ead9305.zip
CMake-8bfa34b78e30a2fbc49e7eb67dde7b412ead9305.tar.gz
CMake-8bfa34b78e30a2fbc49e7eb67dde7b412ead9305.tar.bz2
Help: Fix typo in get_filename_component docs
trailing slahes -> trailing slashes
-rw-r--r--Help/command/get_filename_component.rst2
1 files changed, 1 insertions, 1 deletions
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 ``<VAR>`` to a component of ``<FileName>``, where ``<COMP>`` 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.