From: Philippe Teuwen Date: Wed, 26 Mar 2014 22:51:22 +0000 (+0100) Subject: Restore original inline help behavior as we've now separate fcts for -h/-m X-Git-Tag: v1.0.0~2^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/46782176fc6af10c082d4eaf2e45689d9517be19?ds=inline;hp=dec8e8bd9f67643c07af9b06f9d6e9e1a2fb9191 Restore original inline help behavior as we've now separate fcts for -h/-m --- 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; } }