tool/CommandDebug.cpp
changeset 1804 742607c464c4
parent 1363 11c0b2caa253
child 1826 ec6223c3b7ec
equal deleted inserted replaced
1803:5b04770444df 1804:742607c464c4
    44 
    44 
    45 string CommandDebug::helpString() const
    45 string CommandDebug::helpString() const
    46 {
    46 {
    47     stringstream str;
    47     stringstream str;
    48 
    48 
    49 	str << getName() << " <LEVEL>" << endl
    49     str << getName() << " <LEVEL>" << endl
    50 		<< endl
    50         << endl
    51     	<< getBriefDescription() << endl
    51         << getBriefDescription() << endl
    52     	<< endl
    52         << endl
    53     	<< "Debug messages are printed to syslog." << endl
    53         << "Debug messages are printed to syslog." << endl
    54     	<< endl
    54         << endl
    55     	<< "Arguments:" << endl
    55         << "Arguments:" << endl
    56     	<< "  LEVEL can have one of the following values:" << endl
    56         << "  LEVEL can have one of the following values:" << endl
    57     	<< "        0 for no debugging output," << endl
    57         << "        0 for no debugging output," << endl
    58     	<< "        1 for some debug messages, or" << endl
    58         << "        1 for some debug messages, or" << endl
    59     	<< "        2 for printing all frame contents (use with caution!)."
    59         << "        2 for printing all frame contents (use with caution!)."
    60 		<< endl << endl
    60         << endl << endl
    61     	<< numericInfo();
    61         << numericInfo();
    62 
    62 
    63 	return str.str();
    63     return str.str();
    64 }
    64 }
    65 
    65 
    66 /****************************************************************************/
    66 /****************************************************************************/
    67 
    67 
    68 void CommandDebug::execute(MasterDevice &m, const StringVector &args)
    68 void CommandDebug::execute(MasterDevice &m, const StringVector &args)