]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdparser.c
Comms refactor (prerequisite of libproxmark work) (#371)
[proxmark3-svn] / client / cmdparser.c
index 3250899795d92fd47c1b0af1ebcebb7644cc43fd..28ca2196798fe4b71a578a9824deb9b34f212255 100644 (file)
@@ -14,6 +14,7 @@
 #include "ui.h"
 #include "cmdparser.h"
 #include "proxmark3.h"
+#include "comms.h"
 
 
 void CmdsHelp(const command_t Commands[])
@@ -23,7 +24,7 @@ void CmdsHelp(const command_t Commands[])
   int i = 0;
   while (Commands[i].Name)
   {
-    if (!offline || Commands[i].Offline)
+    if (!IsOffline() || Commands[i].Offline)
        PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help);
     ++i;
   }
Impressum, Datenschutz