]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
client/cmdparser.c: Cosmetic changes.
authorizsh.f0f <izsh.f0f@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 5 Feb 2010 01:06:53 +0000 (01:06 +0000)
committerizsh.f0f <izsh.f0f@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 5 Feb 2010 01:06:53 +0000 (01:06 +0000)
client/cmdlf.c: Add missing include for "WaitForResponse".

client/cmdlf.c
client/cmdparser.c

index 80a9dc2685760033f57179e2e7fee21ce1bd842e..40bb8a215dc17e39776597fe29d4a14e7735d4e2 100644 (file)
@@ -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"
index 6fca29c2b4cc66841ba0564b3ec7949fd47dce51..74ae29bba30697c03502b0cd580b1506356b4a5c 100644 (file)
@@ -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);
 }
Impressum, Datenschutz