]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdparser.c
streamline CmdEM410xWatch
[proxmark3-svn] / client / cmdparser.c
index b91f2c9e86abd07665fc051384f1422fb43afc65..74ae29bba30697c03502b0cd580b1506356b4a5c 100644 (file)
@@ -28,5 +28,6 @@ void CmdsParse(const command_t Commands[], const char *Cmd)
   if (Commands[i].Name)
     Commands[i].Parse(Cmd + len);
   else
-    PrintAndLog("Command not found");
+    // show help (always first in array) for selected hierarchy or if command not recognised
+    CmdsHelp(Commands);
 }
Impressum, Datenschutz