tool/CommandAlias.cpp
changeset 2011 04fdb4abf120
parent 1968 4f682084c643
child 2421 bc2d4bf9cbe5
equal deleted inserted replaced
2010:87de63b19e4c 2011:04fdb4abf120
    43 {
    43 {
    44 }
    44 }
    45 
    45 
    46 /*****************************************************************************/
    46 /*****************************************************************************/
    47 
    47 
    48 string CommandAlias::helpString() const
    48 string CommandAlias::helpString(const string &binaryBaseName) const
    49 {
    49 {
    50     stringstream str;
    50     stringstream str;
    51 
    51 
    52     str << getName() << " [OPTIONS] <ALIAS>" << endl
    52     str << binaryBaseName << " " << getName() << " [OPTIONS] <ALIAS>" << endl
    53         << endl
    53         << endl
    54         << getBriefDescription() << endl
    54         << getBriefDescription() << endl
    55         << endl
    55         << endl
    56         << "Arguments:" << endl
    56         << "Arguments:" << endl
    57         << "  ALIAS must be an unsigned 16 bit number. Zero means" << endl
    57         << "  ALIAS must be an unsigned 16 bit number. Zero means" << endl