mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-26 09:03:11 +08:00
cliparser doesnt like empty strings,
This commit is contained in:
parent
1871e7b9fb
commit
c7e47a721d
3 changed files with 4 additions and 4 deletions
|
@ -4820,7 +4820,7 @@ static int CmdHF14aDesNDEF(const char *Cmd) {
|
|||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_litn("v", "verbose", 0, 2, "show technical data"),
|
||||
arg_str0("", "aid", "<aid>", "replace default aid for NDEF"),
|
||||
arg_str0(NULL, "aid", "<aid>", "replace default aid for NDEF"),
|
||||
arg_str0("k", "key", "<key>", "replace default key for NDEF"),
|
||||
arg_param_end
|
||||
};
|
||||
|
@ -4924,7 +4924,7 @@ static int CmdHF14aDesMAD(const char *Cmd) {
|
|||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_litn("v", "verbose", 0, 2, "show technical data"),
|
||||
arg_str0("", "aid", "<aid>", "replace default aid for MAD"),
|
||||
arg_str0(NULL, "aid", "<aid>", "replace default aid for MAD"),
|
||||
arg_str0("k", "key", "<key>", "replace default key for MAD"),
|
||||
arg_param_end
|
||||
};
|
||||
|
|
|
@ -1533,7 +1533,7 @@ int CmdEM4x05Unlock(const char *Cmd) {
|
|||
arg_int0("n", NULL, NULL, "steps to skip"),
|
||||
arg_int0("s", "start", "<us>", "start scan from delay (us)"),
|
||||
arg_int0("e", "end", "<us>", "end scan at delay (us)"),
|
||||
arg_str0("p", "pwd", "", "password (00000000)"),
|
||||
arg_str0("p", "pwd", "<hex>", "password (def 00000000)"),
|
||||
arg_lit0("v", "verbose", "verbose output"),
|
||||
arg_param_end
|
||||
};
|
||||
|
|
|
@ -129,7 +129,7 @@ static int CmdAuto(const char *Cmd) {
|
|||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_lit0("a", "all", ""),
|
||||
arg_lit0("c", NULL, "Continue searching even after a first hit"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
|
|
Loading…
Reference in a new issue