tool/CommandVersion.cpp
changeset 2004 be807e224b0e
parent 1968 4f682084c643
equal deleted inserted replaced
2003:a7ff6c28a432 2004:be807e224b0e
    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 }