]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf.c
CHG: a bit code clean up,
[proxmark3-svn] / client / cmdhf.c
index f6fb3a9925f0f2678eb5e766da9f38f94208e1c2..be842a34dce40f0e60b280c45df43a664ad8e6e5 100644 (file)
@@ -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;
 }
Impressum, Datenschutz