mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
and better....
This commit is contained in:
parent
f5a1e26f9f
commit
4d314995d6
2 changed files with 5 additions and 2 deletions
|
@ -11,6 +11,9 @@
|
|||
#include "argtable3.h"
|
||||
#include "util.h"
|
||||
|
||||
#define arg_param_begin arg_lit0("hH", "help", "print this help and exit")
|
||||
#define arg_param_end arg_end(20)
|
||||
|
||||
#define arg_get_lit(n)(((struct arg_lit*)argtable[n]))
|
||||
#define arg_get_str(n)(((struct arg_str*)argtable[n]))
|
||||
|
||||
|
|
|
@ -737,12 +737,12 @@ int CmdHF14AAPDU(const char *cmd) {
|
|||
void* argtable[] = {ahelp, as, ak, at, astr, aend};
|
||||
*/
|
||||
void* argtable[] = {
|
||||
arg_lit0("hH", "help", "print this help and exit"),
|
||||
arg_param_begin,
|
||||
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_end(20)
|
||||
arg_param_end
|
||||
};
|
||||
if (CLParserParseString(cmd, argtable, sizeof(argtable) / sizeof(argtable[0])))
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue