syntax suger

This commit is contained in:
iceman1001 2017-01-11 23:02:38 +01:00
parent fbc2bace4a
commit 719000b7f4

View file

@ -15,13 +15,10 @@
#include "cmdparser.h"
#include "proxmark3.h"
void CmdsHelp(const command_t Commands[])
{
if (Commands[0].Name == NULL)
return;
void CmdsHelp(const command_t Commands[]) {
if (Commands[0].Name == NULL) return;
int i = 0;
while (Commands[i].Name)
{
while (Commands[i].Name) {
if (!offline || Commands[i].Offline)
PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help);
++i;