diff options
author | Ken Martin <ken.martin@kitware.com> | 2009-06-12 17:25:50 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2009-06-12 17:25:50 (GMT) |
commit | 133a778e2d1dfc05f372f3f33c7b677a1c49bbf3 (patch) | |
tree | de373b01cd800c94ad187568d1065e0bd859b3a3 /Source | |
parent | f50cf4f60d271c8a86de4a693f424b4eac402ab4 (diff) | |
download | CMake-133a778e2d1dfc05f372f3f33c7b677a1c49bbf3.zip CMake-133a778e2d1dfc05f372f3f33c7b677a1c49bbf3.tar.gz CMake-133a778e2d1dfc05f372f3f33c7b677a1c49bbf3.tar.bz2 |
ENH: clean up some help text
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmIfCommand.h | 8 | ||||
-rw-r--r-- | Source/cmPolicies.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h index a55c982..243e4fc 100644 --- a/Source/cmIfCommand.h +++ b/Source/cmIfCommand.h @@ -194,15 +194,15 @@ public: "\n" "The if statement was written fairly early in CMake's history " - "and it has some convenience features that may be confusing for " - "new users. The if statement reduces operations until there is " + "and it has some convenience features that are worth covering. " + "The if statement reduces operations until there is " "a single remaining value, at that point if the case " "insensitive value is: ON, 1, YES, TRUE, Y it returns true, if " "it is OFF, 0, NO, FALSE, N, NOTFOUND, *-NOTFOUND, IGNORE it " "will return false. \n" - "This is fairly reasonable. The convenience feature that makes " - "it more confusing is how CMake handles values that do not " + "This is fairly reasonable. The convenience feature that sometimes " + "throws new authors is how CMake handles values that do not " "match the true or false list. Those values are treated as " "variables and are dereferenced even though they do not have " "the required ${} syntax. This means that if you write\n" diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 5fc0d74..61093fb 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -360,10 +360,10 @@ cmPolicies::cmPolicies() CMP0012, "CMP0012", "In CMake versions prior to 2.6.5 the only boolean constants were 0 and 1. " "Other boolean constants such as true, false, yes, no, " - "on, off, y, n, notfound, ignore were recognized in some cases but not all. " - "In later versions of cmake these values are treated as boolean constants " - "more consistently and should not be used as variable names. " - "Please do not use them as variable names.", + "on, off, y, n, notfound, ignore (all case insensitive) were recognized " + "in some cases but not all. In later versions of cmake these values are " + "treated as boolean constants more consistently and should not be used " + "as variable names. Please do not use them as variable names.", "The OLD behavior for this policy is to allow variables to have names such as " "true and to dereference them. " "The NEW behavior for this policy is to treat strings like true as a boolean constant.", |