Get rid of broken "long help" option.
--HG-- extra : convert_revision : 8b7c646ce416d2a2a4919acbb87c0b6d65920d42
This commit is contained in:
32
sim/main.cc
32
sim/main.cc
@@ -132,34 +132,6 @@ showBriefHelp(ostream &out)
|
||||
|
||||
ccprintf(out, "%s -X\n -X extract embedded files\n\n", prog);
|
||||
ccprintf(out, "%s -h\n -h print short help\n\n", prog);
|
||||
ccprintf(out, "%s -H\n -H print long help\n\n", prog);
|
||||
}
|
||||
|
||||
/// Show verbose help message. Includes parameter listing from
|
||||
/// showBriefHelp(), plus an exhaustive list of ini-file parameters
|
||||
/// and SimObjects (with their parameters).
|
||||
void
|
||||
showLongHelp(ostream &out)
|
||||
{
|
||||
showBriefHelp(out);
|
||||
|
||||
out << endl
|
||||
<< endl
|
||||
<< "-----------------" << endl
|
||||
<< "Global Parameters" << endl
|
||||
<< "-----------------" << endl
|
||||
<< endl;
|
||||
|
||||
ParamContext::describeAllContexts(out);
|
||||
|
||||
out << endl
|
||||
<< endl
|
||||
<< "-----------------" << endl
|
||||
<< "Simulator Objects" << endl
|
||||
<< "-----------------" << endl
|
||||
<< endl;
|
||||
|
||||
SimObjectClass::describeAllClasses(out);
|
||||
}
|
||||
|
||||
/// Print welcome message.
|
||||
@@ -292,10 +264,6 @@ main(int argc, char **argv)
|
||||
showBriefHelp(cerr);
|
||||
exit(1);
|
||||
|
||||
case 'H':
|
||||
showLongHelp(cerr);
|
||||
exit(1);
|
||||
|
||||
case 'E':
|
||||
option = getOptionString(i, argc, argv);
|
||||
if (!split_first(option, var, val, '='))
|
||||
|
||||
Reference in New Issue
Block a user