summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-09-17 06:19:29 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-09-17 06:19:29 (GMT)
commit8cff5e4474da2f86c3133dd4abf679ae119ab375 (patch)
tree3bf433652e2d04069821bf4d21a016083efccee9 /Source
parentabfd574d05175023787b0f5ad0c11d5a3b58629c (diff)
downloadCMake-8cff5e4474da2f86c3133dd4abf679ae119ab375.zip
CMake-8cff5e4474da2f86c3133dd4abf679ae119ab375.tar.gz
CMake-8cff5e4474da2f86c3133dd4abf679ae119ab375.tar.bz2
mark_as_advanced: improve documentation syntax
Only one argument is required. Also avoid using the same variable name twice in the input list and follow the convention used elsewhere for optional arguments.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMarkAsAdvancedCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMarkAsAdvancedCommand.h b/Source/cmMarkAsAdvancedCommand.h
index 246eb8a..adfc553 100644
--- a/Source/cmMarkAsAdvancedCommand.h
+++ b/Source/cmMarkAsAdvancedCommand.h
@@ -56,7 +56,7 @@ public:
virtual const char* GetFullDocumentation() const
{
return
- " mark_as_advanced([CLEAR|FORCE] VAR VAR2 VAR...)\n"
+ " mark_as_advanced([CLEAR|FORCE] VAR [VAR2 ...])\n"
"Mark the named cached variables as advanced. An advanced variable "
"will not be displayed in any of the cmake GUIs unless the show "
"advanced option is on. "