From 8cff5e4474da2f86c3133dd4abf679ae119ab375 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Tue, 17 Sep 2013 08:19:29 +0200 Subject: [PATCH] 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. --- Source/cmMarkAsAdvancedCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMarkAsAdvancedCommand.h b/Source/cmMarkAsAdvancedCommand.h index 246eb8aa3..adfc5537e 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. "