X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/dec8e8bd9f67643c07af9b06f9d6e9e1a2fb9191..46782176fc6af10c082d4eaf2e45689d9517be19:/client/cmdparser.c diff --git a/client/cmdparser.c b/client/cmdparser.c index 3820de17..845915f6 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -22,13 +22,8 @@ void CmdsHelp(const command_t Commands[]) int i = 0; while (Commands[i].Name) { - if(Commands[i].Offline) - { - PrintAndLog("%-16s \t%s", Commands[i].Name, Commands[i].Help); - }else - { - PrintAndLog("%-16s @\t%s", Commands[i].Name, Commands[i].Help); - } + if (!offline || Commands[i].Offline) + PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help); ++i; } }