tool/CommandUpload.cpp
changeset 1968 4f682084c643
parent 1870 0cee1fb7f0fd
equal deleted inserted replaced
1967:c41b4f4af645 1968:4f682084c643
    41 {
    41 {
    42 }
    42 }
    43 
    43 
    44 /*****************************************************************************/
    44 /*****************************************************************************/
    45 
    45 
    46 string CommandUpload::helpString() const
    46 string CommandUpload::helpString(const string &binaryBaseName) const
    47 {
    47 {
    48     stringstream str;
    48     stringstream str;
    49 
    49 
    50     str << getName() << " [OPTIONS] <INDEX> <SUBINDEX>" << endl
    50     str << binaryBaseName << " " << getName()
       
    51         << " [OPTIONS] <INDEX> <SUBINDEX>" << endl
    51         << endl
    52         << endl
    52         << getBriefDescription() << endl
    53         << getBriefDescription() << endl
    53         << endl
    54         << endl
    54         << "This command requires a single slave to be selected." << endl
    55         << "This command requires a single slave to be selected." << endl
    55         << endl
    56         << endl