summaryrefslogtreecommitdiffstats
path: root/Source/cmMarkAsAdvancedCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-07 20:47:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-07 20:47:39 (GMT)
commit8e5f3bb9e1fac42d3adef98858b6c3411de584e5 (patch)
treef8ff44049c1fc4e986bac65e094a126d9722082a /Source/cmMarkAsAdvancedCommand.h
parentf52a30472833dd06591ada9c685e51d2963cc823 (diff)
downloadCMake-8e5f3bb9e1fac42d3adef98858b6c3411de584e5.zip
CMake-8e5f3bb9e1fac42d3adef98858b6c3411de584e5.tar.gz
CMake-8e5f3bb9e1fac42d3adef98858b6c3411de584e5.tar.bz2
ENH: add mark as not advanced to mark as advanced
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);