From: micki.held@gmx.de Date: Wed, 10 Jul 2013 05:10:58 +0000 (+0000) Subject: Revoked unintended commit of cmdmain.c to scripting branch in r754. X-Git-Tag: v1.0.0~80^2~10 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/1d59cd8d7a5393415e995b7e2d27cdd1988dca6a?hp=-c Revoked unintended commit of cmdmain.c to scripting branch in r754. --- 1d59cd8d7a5393415e995b7e2d27cdd1988dca6a diff --git a/client/cmdmain.c b/client/cmdmain.c index d6ddb9a0..9da1b308 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -24,6 +24,7 @@ #include "cmdlf.h" #include "cmdmain.h" #include "util.h" +#include "cmdscript.h" unsigned int current_command = CMD_UNKNOWN; //unsigned int received_command = CMD_UNKNOWN; @@ -50,6 +51,7 @@ static command_t CommandTable[] = {"hw", CmdHW, 1, "{ Hardware commands... }"}, {"lf", CmdLF, 1, "{ LF commands... }"}, {"quit", CmdQuit, 1, "Quit program"}, + {"script", CmdScript, 1,"Run script"}, {NULL, NULL, 0, NULL} };