Browse Source

Help: Fix typo in get_filename_component docs

trailing slahes -> trailing slashes
Christopher Meng 10 years ago
parent
commit
8bfa34b78e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Help/command/get_filename_component.rst

+ 1 - 1
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.