- Catch any leading option (the incorrect location). - Catch initialization error for cleaner result.
13 lines
306 B
C
13 lines
306 B
C
argList::addArgument("tool");
|
|
|
|
argList::notes.append("Valid <tool> options include:");
|
|
for (const word& tool : helpType::dictionaryConstructorTablePtr_->sortedToc())
|
|
{
|
|
argList::notes.append(" " + tool);
|
|
}
|
|
|
|
argList::notes.append
|
|
(
|
|
"\nNOTE the <tool> must actually appear *before* any options"
|
|
);
|