]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdparser.c
optimization UDOL creation. does not affect on functionality.
[proxmark3-svn] / client / cmdparser.c
index 28ca2196798fe4b71a578a9824deb9b34f212255..3250899795d92fd47c1b0af1ebcebb7644cc43fd 100644 (file)
@@ -14,7 +14,6 @@
 #include "ui.h"
 #include "cmdparser.h"
 #include "proxmark3.h"
-#include "comms.h"
 
 
 void CmdsHelp(const command_t Commands[])
@@ -24,7 +23,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