// 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"
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;
}