summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-20 12:30:36 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-20 12:30:36 (GMT)
commitb0ea36730847695c5e9579de92e7dd4272cfc27a (patch)
tree4cfecdfa5884284ce7587737bba14d18e9d7daa5 /Source/cmake.h
parent594dd9b36a7f3ac37b56c89596ff38451570de3e (diff)
downloadCMake-b0ea36730847695c5e9579de92e7dd4272cfc27a.zip
CMake-b0ea36730847695c5e9579de92e7dd4272cfc27a.tar.gz
CMake-b0ea36730847695c5e9579de92e7dd4272cfc27a.tar.bz2
Help: Spell '-D' option consistently across documentation (#15575)
Always show the option with its argument separate in summary text. State in the main documentation that the option and its argument can be given together too.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 0d1977e..0a1ee7d 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -403,7 +403,7 @@ private:
#define CMAKE_STANDARD_OPTIONS_TABLE \
{"-C <initial-cache>", "Pre-load a script to populate the cache."}, \
- {"-D <var>:<type>=<value>", "Create a cmake cache entry."}, \
+ {"-D <var>[:<type>]=<value>", "Create a cmake cache entry."}, \
{"-U <globbing_expr>", "Remove matching entries from CMake cache."}, \
{"-G <generator-name>", "Specify a build system generator."},\
{"-T <toolset-name>", "Specify toolset name if supported by generator."}, \