tool/CommandVersion.cpp
changeset 2011 04fdb4abf120
parent 1968 4f682084c643
equal deleted inserted replaced
2010:87de63b19e4c 2011:04fdb4abf120
    39 {
    39 {
    40 }
    40 }
    41 
    41 
    42 /****************************************************************************/
    42 /****************************************************************************/
    43 
    43 
    44 string CommandVersion::helpString() const
    44 string CommandVersion::helpString(const string &binaryBaseName) const
    45 {
    45 {
    46     stringstream str;
    46     stringstream str;
    47 
    47 
    48     str << getName() << " [OPTIONS]" << endl
    48     str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
    49         << endl
    49         << endl
    50         << getBriefDescription() << endl;
    50         << getBriefDescription() << endl;
    51 
    51 
    52     return str.str();
    52     return str.str();
    53 }
    53 }