summaryrefslogtreecommitdiff
path: root/Source/cmOptionCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-15 13:15:28 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-15 13:15:28 -0400
commita5c3087360b79132c7e3c5004e6a9d14c7e62805 (patch)
tree2af2dcf00c139593ee29d3de821684818e9ddc97 /Source/cmOptionCommand.cxx
parent9ac968174efc39ee42c011038b99ace4e6a50cec (diff)
downloadcmake-a5c3087360b79132c7e3c5004e6a9d14c7e62805.tar.gz
BUG: fix for 282
Diffstat (limited to 'Source/cmOptionCommand.cxx')
-rw-r--r--Source/cmOptionCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx
index 8c3b55fb05..37e3be001f 100644
--- a/Source/cmOptionCommand.cxx
+++ b/Source/cmOptionCommand.cxx
@@ -55,6 +55,7 @@ bool cmOptionCommand::InitialPass(std::vector<std::string> const& args)
{
if ( it.GetType() != cmCacheManager::UNINITIALIZED )
{
+ it.SetProperty("HELPSTRING", args[1].c_str());
return true;
}
if ( it.GetValue() )