]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
Attempt at getting the windows client to at least compile without bombing out with...
[proxmark3-svn] / client / cmdmain.c
index 30b431f55895b27248469c6d165b11081d2588d1..c6d59e2e1daf421a418848d91ba6b109c72200e8 100644 (file)
@@ -2,6 +2,9 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
+#ifdef WIN32
+#include <windows.h>
+#endif
 #include "cmdparser.h"
 #include "data.h"
 #include "usb_cmd.h"
@@ -11,6 +14,7 @@
 #include "cmdhw.h"
 #include "cmdlf.h"
 #include "cmdmain.h"
+#include "proxusb.h"
 
 unsigned int current_command = CMD_UNKNOWN;
 unsigned int received_command = CMD_UNKNOWN;
@@ -21,11 +25,11 @@ static int CmdQuit(const char *Cmd);
 static command_t CommandTable[] = 
 {
   {"help",  CmdHelp,  1, "This help. Use '<command> help' for details of the following commands:\n"},
-  {"data",  CmdData,  1, "Plot window / data buffer manipulation"},
+  {"data",  CmdData,  1, "{ Plot window / data buffer manipulation... }"},
   {"exit",  CmdQuit,  1, "Exit program"},
-  {"hf",    CmdHF,    1, "HF commands"},
-  {"hw",    CmdHW,    1, "Hardware commands"},
-  {"lf",    CmdLF,    1, "LF commands"},
+  {"hf",    CmdHF,    1, "{ HF commands... }"},
+  {"hw",    CmdHW,    1, "{ Hardware commands... }"},
+  {"lf",    CmdLF,    1, "{ LF commands... }"},
   {"quit",  CmdQuit,  1, "Quit program"},
   {NULL, NULL, 0, NULL}
 };
Impressum, Datenschutz