tool/cmd_alias.cpp
changeset 1125 9976f7b9fe66
parent 1122 ee305a780a02
child 1126 b09fd81894cb
equal deleted inserted replaced
1124:5da7c73c4f63 1125:9976f7b9fe66
    45     stringstream err, strAlias;
    45     stringstream err, strAlias;
    46     int number;
    46     int number;
    47     unsigned int numSlaves, i;
    47     unsigned int numSlaves, i;
    48 
    48 
    49     if (commandArgs.size() != 1) {
    49     if (commandArgs.size() != 1) {
    50         err << "'" << command << "' takes exactly one argument!";
    50         err << "'" << commandName << "' takes exactly one argument!";
    51         throw InvalidUsageException(err);
    51         throw InvalidUsageException(err);
    52     }
    52     }
    53 
    53 
    54     strAlias << commandArgs[0];
    54     strAlias << commandArgs[0];
    55     strAlias
    55     strAlias