summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-11-17 11:46:16 -0500
committerKen Martin <ken.martin@kitware.com>2005-11-17 11:46:16 -0500
commit6ce463dab36091ce77f5b2cb614478d5ab049fe5 (patch)
tree82756c7316523e51a177f3b844f436b64298bf8c /Source
parent4d2ce04caa06c78d4985306f7f76e954eac3b870 (diff)
downloadcmake-6ce463dab36091ce77f5b2cb614478d5ab049fe5.tar.gz
STYLE: fix docs
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVariableRequiresCommand.h4
-rw-r--r--Source/cmWhileCommand.h2
-rw-r--r--Source/cmWriteFileCommand.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h
index 02ab248431..9a74514b44 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 bfb355e611..4e34147865 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 31e16879c7..37d3575035 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.";
}