tool/CommandStates.cpp
changeset 2004 be807e224b0e
parent 1968 4f682084c643
child 2421 bc2d4bf9cbe5
--- a/tool/CommandStates.cpp	Fri Nov 26 11:23:19 2010 +0100
+++ b/tool/CommandStates.cpp	Sat Nov 27 17:02:54 2010 +0100
@@ -43,11 +43,11 @@
 
 /*****************************************************************************/
 
-string CommandStates::helpString() const
+string CommandStates::helpString(const string &binaryBaseName) const
 {
     stringstream str;
 
-    str << getName() << " [OPTIONS] <STATE>" << endl
+    str << binaryBaseName << " " << getName() << " [OPTIONS] <STATE>" << endl
         << endl
         << getBriefDescription() << endl
         << endl