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.
This commit is contained in:
Rolf Eike Beer 2013-09-17 08:19:29 +02:00
parent abfd574d05
commit 8cff5e4474
1 changed files with 1 additions and 1 deletions

View File

@ -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. "