Fixed display of helpmessage
This commit is contained in:
parent
9d07be62d3
commit
5d5f5c9fba
|
@ -597,7 +597,7 @@ void cServer::PrintHelp(const AStringVector & a_Split, cCommandOutputCallback &
|
|||
for (AStringPairs::const_iterator itr = Callback.m_Commands.begin(), end = Callback.m_Commands.end(); itr != end; ++itr)
|
||||
{
|
||||
const AStringPair & cmd = *itr;
|
||||
a_Output.Out(Printf("%-*s%s\n", static_cast<int>(Callback.m_MaxLen), cmd.first.c_str(), (" - " + cmd.second).c_str()));
|
||||
a_Output.Out(Printf("%-*s - %s\n", static_cast<int>(Callback.m_MaxLen), cmd.first.c_str(), cmd.second.c_str()));
|
||||
} // for itr - Callback.m_Commands[]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user