Skip to content
Snippets Groups Projects
Commit fa126f72 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed typos.

parent fdbc4649
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ static const Command commands[] = { ...@@ -84,7 +84,7 @@ static const Command commands[] = {
INIT_COMMAND(sii_read, "Output a slave's SII contents."), INIT_COMMAND(sii_read, "Output a slave's SII contents."),
INIT_COMMAND(sii_write, "Write slave's SII contents."), INIT_COMMAND(sii_write, "Write slave's SII contents."),
INIT_COMMAND(states, "Request slave states."), INIT_COMMAND(states, "Request slave states."),
INIT_COMMAND(xml, "Generate slave information xmls."), INIT_COMMAND(xml, "Generate slave information XML."),
}; };
static const Command *cmdEnd = commands + sizeof(commands) / sizeof(Command); static const Command *cmdEnd = commands + sizeof(commands) / sizeof(Command);
...@@ -344,7 +344,7 @@ int main(int argc, char **argv) ...@@ -344,7 +344,7 @@ int main(int argc, char **argv)
cmd->displayHelp(); cmd->displayHelp();
} }
} else { } else {
cerr << "Ambigous command abbreviation! Matching:" << endl; cerr << "Ambiguous command abbreviation! Matching:" << endl;
for (ci = commands.begin(); ci != commands.end(); ci++) { for (ci = commands.begin(); ci != commands.end(); ci++) {
cerr << (*ci)->name << endl; cerr << (*ci)->name << endl;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment