tool/CommandMaster.cpp
changeset 1804 742607c464c4
parent 1530 96629de2202b
child 1826 ec6223c3b7ec
equal deleted inserted replaced
1803:5b04770444df 1804:742607c464c4
    46 
    46 
    47 string CommandMaster::helpString() const
    47 string CommandMaster::helpString() const
    48 {
    48 {
    49     stringstream str;
    49     stringstream str;
    50 
    50 
    51 	str << getName() << " [OPTIONS]" << endl
    51     str << getName() << " [OPTIONS]" << endl
    52     	<< endl
    52         << endl
    53     	<< getBriefDescription() << endl
    53         << getBriefDescription() << endl
    54     	<< endl
    54         << endl
    55     	<< "Command-specific options:" << endl
    55         << "Command-specific options:" << endl
    56     	<< "  --master -m <index>  Index of the master to use. Default: 0."
    56         << "  --master -m <index>  Index of the master to use. Default: 0."
    57 		<< endl << endl
    57         << endl << endl
    58 		<< numericInfo();
    58         << numericInfo();
    59 
    59 
    60 	return str.str();
    60     return str.str();
    61 }
    61 }
    62 
    62 
    63 /****************************************************************************/
    63 /****************************************************************************/
    64 
    64 
    65 void CommandMaster::execute(MasterDevice &m, const StringVector &args)
    65 void CommandMaster::execute(MasterDevice &m, const StringVector &args)