summaryrefslogtreecommitdiffstats
path: root/Source/cmOptionCommand.cxx
diff options
context:
space:
mode:
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() )