From 0ce639e13a14377e94ee05a7ac7adaa08eb1a733 Mon Sep 17 00:00:00 2001 From: nojhan Date: Fri, 1 Jul 2011 10:52:44 +0200 Subject: [PATCH] beautify the output of sections: no caps in parenthesis and space before colon --- eo/src/utils/eoParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eo/src/utils/eoParser.cpp b/eo/src/utils/eoParser.cpp index 4bab23f2..97c4b3d5 100644 --- a/eo/src/utils/eoParser.cpp +++ b/eo/src/utils/eoParser.cpp @@ -347,10 +347,10 @@ void eoParser::printHelp(ostream& os) if (p->second->shortName()) os << "-" << p->second->shortName() << ", "; - os << "--" <second->longName() <<":\t" + os << "--" <second->longName() <<" :\t" << p->second->description() ; - os << " (" << ( (p->second->required())?"Required":"Optional" ); + os << " (" << ( (p->second->required())?"required":"optional" ); os <<", default: "<< p->second->defValue() << ')' << std::endl; } // for p