فهرست منبع

STYLE: fix docs

Ken Martin 20 سال پیش
والد
کامیت
6ce463dab3
3فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      Source/cmVariableRequiresCommand.h
  2. 1 1
      Source/cmWhileCommand.h
  3. 1 1
      Source/cmWriteFileCommand.h

+ 2 - 2
Source/cmVariableRequiresCommand.h

@@ -65,8 +65,8 @@ public:
       "The first argument (TEST_VARIABLE) is the name of the variable to be "
       "tested, if that variable is false nothing else is done. If "
       "TEST_VARIABLE is true, then "
-      "the next arguemnt (RESULT_VARIABLE) is a vairable that is set to true "
-      "if all the required variables are set." 
+      "the next argument (RESULT_VARIABLE) is a variable that is set to true "
+      "if all the required variables are set. " 
       "The rest of the arguments are variables that must be true or not "
       "set to NOTFOUND to avoid an error.  If any are not true, an error "
       "is reported.";

+ 1 - 1
Source/cmWhileCommand.h

@@ -102,7 +102,7 @@ public:
       "without being invoked.  Once the ENDWHILE is evaluated, the "
       "recorded list of commands is invoked as long as the condition "
       "is true. The condition is evaulated using the same logic as the "
-      "FOR command.";
+      "IF command.";
     }
   
   cmTypeMacro(cmWhileCommand, cmCommand);

+ 1 - 1
Source/cmWriteFileCommand.h

@@ -72,7 +72,7 @@ public:
       "but add some more functionality.\n"
       "NOTE 2: When using WRITE_FILE the produced file cannot be used as an "
       "input to CMake (CONFIGURE_FILE, source file ...) because it will "
-      "lead to infinite loop. Use CONFIGURE_FILE if you want to generate "
+      "lead to an infinite loop. Use CONFIGURE_FILE if you want to generate "
       "input files to CMake.";
     }