tool/CommandStates.cpp
changeset 1968 4f682084c643
parent 1869 14f634f5b613
child 2421 bc2d4bf9cbe5
--- a/tool/CommandStates.cpp	Mon Oct 25 09:57:37 2010 +0200
+++ b/tool/CommandStates.cpp	Mon Oct 25 10:12:26 2010 +0200
@@ -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