Browse Source

BUG: Patch from Miguel A. Figueroa-Villanueva for fixing documentation.

Brad King 19 years ago
parent
commit
54a7e0036b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/cmIfCommand.h

+ 3 - 3
Source/cmIfCommand.h

@@ -123,12 +123,12 @@ public:
       "  IF(variable1 OR variable2)\n"
       "True if either variable would be considered true individually.\n"
       "  IF(COMMAND command-name)\n"
-      "True if the given name is a file or directory.\n"
+      "True if the given name is a command that can be invoked.\n"
       "  IF(EXISTS file-name)\n"
       "  IF(EXISTS directory-name)\n"
-      "True if the given name is a directory.\n"
-      "  IF(IS_DIRECTORY directory-name)\n"
       "True if the named file or directory exists.\n"
+      "  IF(IS_DIRECTORY directory-name)\n"
+      "True if the given name is a directory.\n"
       "  IF(variable MATCHES regex)\n"
       "  IF(string MATCHES regex)\n"
       "True if the given string or variable's value matches the given "