summaryrefslogtreecommitdiffstats
path: root/Source/cmMarkAsAdvancedCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMarkAsAdvancedCommand.h')
-rw-r--r--Source/cmMarkAsAdvancedCommand.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmMarkAsAdvancedCommand.h b/Source/cmMarkAsAdvancedCommand.h
index f328667..c43d035 100644
--- a/Source/cmMarkAsAdvancedCommand.h
+++ b/Source/cmMarkAsAdvancedCommand.h
@@ -91,9 +91,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "MARK_AS_ADVANCED(VAR VAR2 VAR... )\n"
+ "MARK_AS_ADVANCED([CLEAR|FORCE]VAR VAR2 VAR... )\n"
"Mark the named variables as advanced. An advanced variable will not be displayed in"
- " any of the cmake GUIs, unless the show advanced option is on.";
+ " any of the cmake GUIs, unless the show advanced option is on. "
+ "If CLEAR is the first argument advanced variables are changed back to unadvanced."
+ "If FORCE is the first arguement, then the variable is made advanced."
+ "If neither FORCE or CLEAR is specified, new values will be marked as advanced, but if the variable already has an advanced state, it will not be changed.";
}
cmTypeMacro(cmMarkAsAdvancedCommand, cmCommand);