equal
deleted
inserted
replaced
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) |