summaryrefslogtreecommitdiffstats
path: root/Source/cmOptionCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-15 17:15:28 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-15 17:15:28 (GMT)
commita5c3087360b79132c7e3c5004e6a9d14c7e62805 (patch)
tree2af2dcf00c139593ee29d3de821684818e9ddc97 /Source/cmOptionCommand.cxx
parent9ac968174efc39ee42c011038b99ace4e6a50cec (diff)
downloadCMake-a5c3087360b79132c7e3c5004e6a9d14c7e62805.zip
CMake-a5c3087360b79132c7e3c5004e6a9d14c7e62805.tar.gz
CMake-a5c3087360b79132c7e3c5004e6a9d14c7e62805.tar.bz2
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 8c3b55f..37e3be0 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() )