]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdparser.c
USB comm: prepare for @micolous change (PR#463) (#587)
[proxmark3-svn] / client / cmdparser.c
index 28ca2196798fe4b71a578a9824deb9b34f212255..f4d3c4048ed20c6cc577b97336169e0b359856ac 100644 (file)
@@ -8,11 +8,12 @@
 // Command parser
 //-----------------------------------------------------------------------------
 
+#include "cmdparser.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include "ui.h"
-#include "cmdparser.h"
 #include "proxmark3.h"
 #include "comms.h"
 
@@ -24,7 +25,7 @@ void CmdsHelp(const command_t Commands[])
   int i = 0;
   while (Commands[i].Name)
   {
-    if (!IsOffline() || Commands[i].Offline)
+    if (!offline || Commands[i].Offline)
        PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help);
     ++i;
   }
Impressum, Datenschutz