]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Restore original inline help behavior as we've now separate fcts for -h/-m
authorPhilippe Teuwen <phil@teuwen.org>
Wed, 26 Mar 2014 22:51:22 +0000 (23:51 +0100)
committerPhilippe Teuwen <phil@teuwen.org>
Wed, 26 Mar 2014 22:51:22 +0000 (23:51 +0100)
client/cmdparser.c

index 3820de1769852ba5350998d8a277acee62246db3..845915f6450074d00b4c9853b248948a502b6a17 100644 (file)
@@ -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;
   }
 }
Impressum, Datenschutz