tool/CommandUpload.cpp
changeset 1968 4f682084c643
parent 1870 0cee1fb7f0fd
--- a/tool/CommandUpload.cpp	Mon Oct 25 09:57:37 2010 +0200
+++ b/tool/CommandUpload.cpp	Mon Oct 25 10:12:26 2010 +0200
@@ -43,11 +43,12 @@
 
 /*****************************************************************************/
 
-string CommandUpload::helpString() const
+string CommandUpload::helpString(const string &binaryBaseName) const
 {
     stringstream str;
 
-    str << getName() << " [OPTIONS] <INDEX> <SUBINDEX>" << endl
+    str << binaryBaseName << " " << getName()
+        << " [OPTIONS] <INDEX> <SUBINDEX>" << endl
         << endl
         << getBriefDescription() << endl
         << endl