]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
modify argtable parser to parse ints with spaces (#683)
[proxmark3-svn] / client / cmdhf14a.c
index 2d76f1098f69c7bf30b87f010d142fb4d08d6536..94eb8ff3511ffc59fdc5692ae8d056d26c9ab7a3 100644 (file)
@@ -742,7 +742,7 @@ int CmdHF14AAPDU(const char *cmd) {
                arg_lit0("sS",  "select",  "activate field and select card"),
                arg_lit0("kK",  "keep",    "leave the signal field ON after receive response"),
                arg_lit0("tT",  "tlv",     "executes TLV decoder if it possible"),
-               arg_str1(NULL,  NULL,      "<APDU (hex)>", NULL),
+               arg_strx1(NULL, NULL,      "<APDU (hex)>", NULL),
                arg_param_end
        };
        CLIExecWithReturn(cmd, argtable, false);
@@ -807,7 +807,7 @@ int CmdHF14ACmdRaw(const char *cmd) {
                arg_int0("t",   "timeout", NULL, "timeout in ms"),
                arg_lit0("T",   "topaz",   "use Topaz protocol to send command"),
                arg_lit0("3",   NULL,      "ISO14443-3 select only (skip RATS)"),
-               arg_str1(NULL,  NULL,      "<data (hex)>", NULL),
+               arg_strx1(NULL, NULL,      "<data (hex)>", NULL),
                arg_param_end
        };
        // defaults
Impressum, Datenschutz