]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdparser.c
Add option -h to dump complete set of supported commands
[proxmark3-svn] / client / cmdparser.c
index 7ea1bf47023d180b31dea6866164cedcfd5fda1c..48d044d591e1583f5da7f3c932006b6f627aad5c 100644 (file)
@@ -21,8 +21,10 @@ void CmdsHelp(const command_t Commands[])
   int i = 0;
   while (Commands[i].Name)
   {
-    if (!offline || Commands[i].Offline)
+    if (offline == 0 || Commands[i].Offline)
       PrintAndLog("%-16s %s", Commands[i].Name, Commands[i].Help);
+    if (offline == 2 && !Commands[i].Offline)
+      PrintAndLog("%-14s @ %s", Commands[i].Name, Commands[i].Help);
     ++i;
   }
 }
Impressum, Datenschutz