summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableRequiresCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmVariableRequiresCommand.h')
-rw-r--r--Source/cmVariableRequiresCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h
index 28ef7bd..7de3933 100644
--- a/Source/cmVariableRequiresCommand.h
+++ b/Source/cmVariableRequiresCommand.h
@@ -50,7 +50,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Assert satisfaction of an option's required variables.";
+ return "Deprecated. Use the IF() command instead.";
}
/**
@@ -59,6 +59,7 @@ public:
virtual const char* GetFullDocumentation()
{
return
+ "Assert satisfaction of an option's required variables.\n"
" VARIABLE_REQUIRES(TEST_VARIABLE RESULT_VARIABLE\n"
" REQUIRED_VARIABLE1\n"
" REQUIRED_VARIABLE2 ...)\n"