diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h index 02ab24843..9a74514b4 100644 --- a/Source/cmVariableRequiresCommand.h +++ b/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."; diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h index bfb355e61..4e3414786 100644 --- a/Source/cmWhileCommand.h +++ b/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); diff --git a/Source/cmWriteFileCommand.h b/Source/cmWriteFileCommand.h index 31e16879c..37d357503 100644 --- a/Source/cmWriteFileCommand.h +++ b/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."; }