tool/CommandMaster.cpp
changeset 1968 4f682084c643
parent 1962 df9b00bda8dc
child 2156 71425e6120d8
child 2589 2b9c78543663
equal deleted inserted replaced
1967:c41b4f4af645 1968:4f682084c643
    43 {
    43 {
    44 }
    44 }
    45 
    45 
    46 /****************************************************************************/
    46 /****************************************************************************/
    47 
    47 
    48 string CommandMaster::helpString() const
    48 string CommandMaster::helpString(const string &binaryBaseName) const
    49 {
    49 {
    50     stringstream str;
    50     stringstream str;
    51 
    51 
    52     str << getName() << " [OPTIONS]" << endl
    52     str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
    53         << endl
    53         << endl
    54         << getBriefDescription() << endl
    54         << getBriefDescription() << endl
    55         << endl
    55         << endl
    56         << "Command-specific options:" << endl
    56         << "Command-specific options:" << endl
    57         << "  --master -m <indices>  Master indices. A comma-separated" << endl
    57         << "  --master -m <indices>  Master indices. A comma-separated" << endl