tool/CommandCStruct.cpp
changeset 2011 04fdb4abf120
parent 1968 4f682084c643
child 2421 bc2d4bf9cbe5
equal deleted inserted replaced
2010:87de63b19e4c 2011:04fdb4abf120
    44 {
    44 {
    45 }
    45 }
    46 
    46 
    47 /*****************************************************************************/
    47 /*****************************************************************************/
    48 
    48 
    49 string CommandCStruct::helpString() const
    49 string CommandCStruct::helpString(const string &binaryBaseName) const
    50 {
    50 {
    51     stringstream str;
    51     stringstream str;
    52 
    52 
    53     str << getName() << " [OPTIONS]" << endl
    53     str << binaryBaseName << " " << getName() << " [OPTIONS]" << endl
    54         << endl
    54         << endl
    55         << getBriefDescription() << endl
    55         << getBriefDescription() << endl
    56         << endl
    56         << endl
    57         << "The output C code can be used directly with the" << endl
    57         << "The output C code can be used directly with the" << endl
    58         << "ecrt_slave_config_pdos() function of the application" << endl
    58         << "ecrt_slave_config_pdos() function of the application" << endl