X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/92e592ce71c995c68b0ed455c58b2d0dacd406bc..c37d2e7078e0e9ced18ebb8d5c89c610350785af:/client/cmdparser.c diff --git a/client/cmdparser.c b/client/cmdparser.c index b91f2c9e..6fca29c2 100644 --- a/client/cmdparser.c +++ b/client/cmdparser.c @@ -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 + Commands[0].Parse("help"); }