--- a/tool/main.cpp Fri Nov 26 11:23:19 2010 +0100
+++ b/tool/main.cpp Sat Nov 27 17:02:54 2010 +0100
@@ -340,7 +340,7 @@
cmd->execute(commandArgs);
} catch (InvalidUsageException &e) {
cerr << e.what() << endl << endl;
- cerr << binaryBaseName << " " << cmd->helpString();
+ cerr << cmd->helpString(binaryBaseName);
retval = 1;
} catch (CommandException &e) {
cerr << e.what() << endl;
@@ -350,7 +350,7 @@
retval = 1;
}
} else {
- cout << binaryBaseName << " " << cmd->helpString();
+ cout << cmd->helpString(binaryBaseName);
}
} else {
cerr << "Ambiguous command abbreviation! Matching:" << endl;