summaryrefslogtreecommitdiffstats
path: root/Source/cmGetTestPropertyCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-17 14:14:35 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-17 14:14:35 (GMT)
commit0d7cf4951a5f3e375096ba4426a6cb503266f9df (patch)
tree7a7d18b635a3f31a128222f43babfa7b9b1a3619 /Source/cmGetTestPropertyCommand.h
parent6b084f1e0469a84eebfa6c849ac2a4445a9e2438 (diff)
downloadCMake-0d7cf4951a5f3e375096ba4426a6cb503266f9df.zip
CMake-0d7cf4951a5f3e375096ba4426a6cb503266f9df.tar.gz
CMake-0d7cf4951a5f3e375096ba4426a6cb503266f9df.tar.bz2
Fix get_(cmake|test)_property documentation (#11703)
The signature of get_test_property uses argument order test property VAR not test VAR property Also document the actual behavior when the property is not found.
Diffstat (limited to 'Source/cmGetTestPropertyCommand.h')
-rw-r--r--Source/cmGetTestPropertyCommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGetTestPropertyCommand.h b/Source/cmGetTestPropertyCommand.h
index 956cf55..2b58ab9 100644
--- a/Source/cmGetTestPropertyCommand.h
+++ b/Source/cmGetTestPropertyCommand.h
@@ -48,10 +48,10 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " get_test_property(test VAR property)\n"
- "Get a property from the Test. The value of the property is "
- "stored in the variable VAR. If the property is not found, "
- "CMake will report an error. For a list of standard properties "
+ " get_test_property(test property VAR)\n"
+ "Get a property from the Test. The value of the property is "
+ "stored in the variable VAR. If the property is not found, VAR "
+ "will be set to \"NOTFOUND\". For a list of standard properties "
"you can type cmake --help-property-list";
}