Fix argument number errors
Jeffrey Pfau jeffrey@endrift.com
Fri, 24 Oct 2014 01:14:08 -0700
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
src/debugger/cli-debugger.c
→
src/debugger/cli-debugger.c
@@ -518,11 +518,10 @@ printf("Parse error\n");
_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);