tool/CommandConfig.cpp
changeset 1968 4f682084c643
parent 1966 23c638a81fe7
child 2421 bc2d4bf9cbe5
child 2589 2b9c78543663
equal deleted inserted replaced
1967:c41b4f4af645 1968:4f682084c643
    45 {
    45 {
    46 }
    46 }
    47 
    47 
    48 /*****************************************************************************/
    48 /*****************************************************************************/
    49 
    49 
    50 string CommandConfig::helpString() const
    50 string CommandConfig::helpString(const string &binaryBaseName) const
    51 {
    51 {
    52     stringstream str;
    52     stringstream str;
    53 
    53 
    54     str << getName() << " [OPTIONS]" << endl
    54     str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
    55         << endl
    55         << endl
    56         << getBriefDescription() << endl
    56         << getBriefDescription() << endl
    57         << endl
    57         << endl
    58         << "Without the --verbose option, slave configurations are" << endl
    58         << "Without the --verbose option, slave configurations are" << endl
    59         << "output one-per-line. Example:" << endl
    59         << "output one-per-line. Example:" << endl