Selaa lähdekoodia

STYLE: fix docs

Ken Martin 20 vuotta sitten
vanhempi
sitoutus
bd45a7bb18

+ 2 - 2
Source/cmForEachCommand.h

@@ -100,8 +100,8 @@ public:
       "in the original FOREACH command.  Before each iteration of the loop "
       "\"${loop_var}\" will be set as a variable with "
       "the current value in the list.\n"
-      "Foreach can also iterate over the range of numbers generated by "
-      "foreach. There are three types of this iteration:\n"
+      "Foreach can also iterate over a generated range of numbers. "
+      "There are three types of this iteration:\n"
       "* When specifying single number, the range will have elements "
       "0 to \"total\".\n"
       "* When specifying two numbers, the range will have elements from "

+ 5 - 5
Source/cmGetCMakePropertyCommand.h

@@ -43,7 +43,7 @@ public:
    */
   virtual const char* GetTerseDocumentation() 
     {
-    return "Get a property of the CMake.";
+    return "Get a property of the CMake instance.";
     }
   
   /**
@@ -53,10 +53,10 @@ public:
     {
       return
         "  GET_CMAKE_PROPERTY(VAR property)\n"
-        "Get a property from the CMake.  The value of the property is" 
-        "stored in the variable VAR. If the property is not found,"
-        "CMake will report an error. The properties include: VARIABLES, "
-        "CACHE_VARIABLES, COMMANDS, and MACROS.";
+        "Get a property from the CMake instance.  The value of the "
+        "property is stored in the variable VAR. If the property is "
+        "not found, CMake will report an error. Some supported properties "
+        "include: VARIABLES, CACHE_VARIABLES, COMMANDS, and MACROS.";
     }
   
   cmTypeMacro(cmGetCMakePropertyCommand, cmCommand);

+ 2 - 2
Source/cmGetDirectoryPropertyCommand.h

@@ -53,8 +53,8 @@ public:
     {
       return
         "  GET_DIRECTORY_PROPERTY(VAR [DIRECTORY dir] property)\n"
-        "Get a property from the Directory.  The value of the property is" 
-        "stored in the variable VAR. If the property is not found,"
+        "Get a property from the Directory.  The value of the property is " 
+        "stored in the variable VAR. If the property is not found, "
         "CMake will report an error. The properties include: VARIABLES, "
         "CACHE_VARIABLES, COMMANDS, MACROS, INCLUDE_DIRECTORIES, "
         "LINK_DIRECTORIES, DEFINITIONS, INCLUDE_REGULAR_EXPRESSION and "