summaryrefslogtreecommitdiff
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-16 12:54:52 -0400
committerBrad King <brad.king@kitware.com>2013-10-16 16:24:51 -0400
commit9b212ad01a31bebe30975ab43a6a675eb78f9144 (patch)
tree6066e4fc9ed2a2972185a419439429a74dc78793 /Source/cmDocumentation.h
parent5dde65ac5b1ecdcc5b47bdba1b806a25fe6d3402 (diff)
downloadcmake-9b212ad01a31bebe30975ab43a6a675eb78f9144.tar.gz
Make --help-* options available from all command-line tools
Make the standard --help-* options available from all command-line tools. Drop options that are no longer supported: --copyright, --help-full, --help-html, --help-man, --help-compatcommands, --help-custom-modules De-duplicate Help/manual/*.1.rst help options by using an OPTIONS_HELP.txt file included from each manual.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index a4072c51c0..07e614db6c 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -84,7 +84,7 @@ public:
cmDocumentationEntry &docs);
/** Set cmake root so we can find installed files */
- void SetCMakeRoot(const char* root) { this->CMakeRoot = root;}
+ void SetCMakeRoot(const char* root) { this->CMakeRoot = root? root:"";}
/** Add common (to all tools) documentation section(s) */
void addCommonStandardDocSections();