summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramRule.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindProgramRule.h')
-rw-r--r--Source/cmFindProgramRule.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmFindProgramRule.h b/Source/cmFindProgramRule.h
index 10ad46e..a94bb38 100644
--- a/Source/cmFindProgramRule.h
+++ b/Source/cmFindProgramRule.h
@@ -24,7 +24,8 @@
*
* cmFindProgramRule is used to define a CMake variable
* that specifies an executable program. The rule searches
- * for a given file in a list of directories.
+ * in the current path (e.g., PATH environment variable) for
+ * an executable that matches one of the supplied names.
*/
class cmFindProgramRule : public cmRuleMaker
{
@@ -74,7 +75,7 @@ public:
virtual const char* FullDocumentation()
{
return
- "FIND_PROGRAM(NAME try1 try2 ...)";
+ "FIND_PROGRAM(NAME executable1 executable2 ...)";
}
};