diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx index 8c3b55fb0..37e3be001 100644 --- a/Source/cmOptionCommand.cxx +++ b/Source/cmOptionCommand.cxx @@ -55,6 +55,7 @@ bool cmOptionCommand::InitialPass(std::vector const& args) { if ( it.GetType() != cmCacheManager::UNINITIALIZED ) { + it.SetProperty("HELPSTRING", args[1].c_str()); return true; } if ( it.GetValue() )