tool/CommandRegWrite.cpp
changeset 2004 be807e224b0e
parent 1968 4f682084c643
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
equal deleted inserted replaced
2003:a7ff6c28a432 2004:be807e224b0e
    43 {
    43 {
    44 }
    44 }
    45 
    45 
    46 /*****************************************************************************/
    46 /*****************************************************************************/
    47 
    47 
    48 string CommandRegWrite::helpString() const
    48 string CommandRegWrite::helpString(const string &binaryBaseName) const
    49 {
    49 {
    50     stringstream str;
    50     stringstream str;
    51 
    51 
    52     str << getName() << " [OPTIONS] <OFFSET> <DATA>" << endl
    52     str << binaryBaseName << " " << getName()
       
    53         << " [OPTIONS] <OFFSET> <DATA>" << endl
    53         << endl 
    54         << endl 
    54         << getBriefDescription() << endl
    55         << getBriefDescription() << endl
    55         << endl
    56         << endl
    56         << "This command requires a single slave to be selected." << endl
    57         << "This command requires a single slave to be selected." << endl
    57         << endl
    58         << endl