X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/afa86e5c032a9d4037114082ddddd3c30f5c65f0..90639dd1cc7d812f21dd20710916de9478ebefe4:/client/cmdhf.c diff --git a/client/cmdhf.c b/client/cmdhf.c index f6fb3a99..be842a34 100644 --- a/client/cmdhf.c +++ b/client/cmdhf.c @@ -783,14 +783,13 @@ static command_t CommandTable[] = {NULL, NULL, 0, NULL} }; -int CmdHF(const char *Cmd) -{ - CmdsParse(CommandTable, Cmd); - return 0; +int CmdHF(const char *Cmd) { + clearCommandBuffer(); + CmdsParse(CommandTable, Cmd); + return 0; } -int CmdHelp(const char *Cmd) -{ - CmdsHelp(CommandTable); - return 0; +int CmdHelp(const char *Cmd) { + CmdsHelp(CommandTable); + return 0; }