Changing the way parameters are shown to the user when the -h or --help flags are used

This commit is contained in:
victor 2000-01-04 10:43:06 +00:00
commit 8eac301566

View file

@ -710,10 +710,16 @@ public:
for ( p=params.begin(); p!=params.end(); p++ ) {
if( p->valType() != Param::TITLE ) {
// Victor: 04-Jan-2000
// Modified because the - and -- prefixes are not needed.
/*
cout << "-" << p->shortName()
<<", --"<<p->longName()<<":\t"
<<p->description()<<endl;
*/
cout << p->shortName()
<<", " << p->longName()<<":\t"
<<p->description()<<endl;
cout << "\t(";
switch ( p->valType() ) {
case Param::INT: cout <<"Integer"; break;