tool/CommandStates.cpp
branchstable-1.5
changeset 2421 bc2d4bf9cbe5
parent 1968 4f682084c643
equal deleted inserted replaced
2420:69056c46aa4d 2421:bc2d4bf9cbe5
    72     SlaveList slaves;
    72     SlaveList slaves;
    73     SlaveList::const_iterator si;
    73     SlaveList::const_iterator si;
    74     stringstream err;
    74     stringstream err;
    75     string stateStr;
    75     string stateStr;
    76     uint8_t state = 0x00;
    76     uint8_t state = 0x00;
    77     
    77 
    78     if (args.size() != 1) {
    78     if (args.size() != 1) {
    79         err << "'" << getName() << "' takes exactly one argument!";
    79         err << "'" << getName() << "' takes exactly one argument!";
    80         throwInvalidUsageException(err);
    80         throwInvalidUsageException(err);
    81     }
    81     }
    82 
    82