Implemented drive_no for command-line tool; binary base name is now a

parameter of the helpString method.
This commit is contained in:
Florian Pose
2010-10-25 10:12:26 +02:00
parent a7cdeeec13
commit 18f63a581d
55 changed files with 156 additions and 96 deletions

View File

@@ -41,11 +41,11 @@ CommandVersion::CommandVersion():
/****************************************************************************/
string CommandVersion::helpString() const
string CommandVersion::helpString(const string &binaryBaseName) const
{
stringstream str;
str << getName() << " [OPTIONS]" << endl
str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
<< endl
<< getBriefDescription() << endl;