X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/dbf444a179ec8639b790e795ac828c51b9da70fa..5e174a511b37e17cd3fcaedad608ce605ba34ce9:/client/cmddata.c diff --git a/client/cmddata.c b/client/cmddata.c index 05a375c5..561132bf 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -534,10 +534,11 @@ int CmdManchesterDemod(const char *Cmd) int warnings = 0; /* check if we're inverting output */ - if (*Cmd == 'i') + if (*(Cmd + 1) == 'i') { PrintAndLog("Inverting output"); invert = 1; + ++Cmd; do ++Cmd; while(*Cmd == ' '); // in case a 2nd argument was given