Fix argument number errors

This commit is contained in:
Jeffrey Pfau 2014-10-24 01:14:08 -07:00
parent 86003496b0
commit 732e29e3c6
1 changed files with 2 additions and 3 deletions

View File

@ -518,11 +518,10 @@ static bool _parse(struct CLIDebugger* debugger, const char* line, size_t count)
_DVFree(dv);
return false;
}
} else {
printf("Wrong number of arguments");
}
} else if (firstSpace) {
printf("Wrong number of arguments");
printf("Wrong number of arguments\n");
return false;
}
_debuggerCommands[i].command(debugger, dv);
_DVFree(dv);