beautify the output of sections: no caps in parenthesis and space before colon
This commit is contained in:
parent
367ad7fbe5
commit
0ce639e13a
1 changed files with 2 additions and 2 deletions
|
|
@ -347,10 +347,10 @@ void eoParser::printHelp(ostream& os)
|
||||||
if (p->second->shortName())
|
if (p->second->shortName())
|
||||||
os << "-" << p->second->shortName() << ", ";
|
os << "-" << p->second->shortName() << ", ";
|
||||||
|
|
||||||
os << "--" <<p->second->longName() <<":\t"
|
os << "--" <<p->second->longName() <<" :\t"
|
||||||
<< p->second->description() ;
|
<< p->second->description() ;
|
||||||
|
|
||||||
os << " (" << ( (p->second->required())?"Required":"Optional" );
|
os << " (" << ( (p->second->required())?"required":"optional" );
|
||||||
os <<", default: "<< p->second->defValue() << ')' << std::endl;
|
os <<", default: "<< p->second->defValue() << ')' << std::endl;
|
||||||
} // for p
|
} // for p
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue