tool/CommandVersion.cpp
changeset 1968 4f682084c643
parent 1826 ec6223c3b7ec
equal deleted inserted replaced
1967:c41b4f4af645 1968:4f682084c643
    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 }