Changing the way parameters are shown to the user when the -h or --help flags are used
This commit is contained in:
parent
7d3e4c83f2
commit
8eac301566
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue