tool/CommandCStruct.cpp
changeset 1968 4f682084c643
parent 1949 bde584664aa2
child 2421 bc2d4bf9cbe5
equal deleted inserted replaced
1967:c41b4f4af645 1968:4f682084c643
    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