From: izsh.f0f Date: Fri, 5 Feb 2010 01:06:53 +0000 (+0000) Subject: client/cmdparser.c: Cosmetic changes. X-Git-Tag: v1.0.0~386 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/040a7baad0fa7c2901e44e5f5f63f0918d29ae97?ds=inline client/cmdparser.c: Cosmetic changes. client/cmdlf.c: Add missing include for "WaitForResponse". --- diff --git a/client/cmdlf.c b/client/cmdlf.c index 80a9dc26..40bb8a21 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -5,6 +5,7 @@ #include "graph.h" #include "ui.h" #include "cmdparser.h" +#include "cmdmain.h" #include "cmddata.h" #include "cmdlf.h" #include "cmdlfhid.h" diff --git a/client/cmdparser.c b/client/cmdparser.c index 6fca29c2..74ae29bb 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -29,5 +29,5 @@ void CmdsParse(const command_t Commands[], const char *Cmd) Commands[i].Parse(Cmd + len); else // show help (always first in array) for selected hierarchy or if command not recognised - Commands[0].Parse("help"); + CmdsHelp(Commands); }