diff --git a/client/src/cmdhf14b.c b/client/src/cmdhf14b.c index b0ce49f50..811fcb195 100644 --- a/client/src/cmdhf14b.c +++ b/client/src/cmdhf14b.c @@ -105,10 +105,10 @@ static int usage_hf_14b_write_srx(void) { static int usage_hf_14b_dump(void) { PrintAndLogEx(NORMAL, "This command dumps the contents of a ISO-14443-B tag and save it to file\n" "\n" - "Usage: hf 14b dump [h] [card memory] \n" + "Usage: hf 14b dump [h] [card memory] \n" "Options:\n" "\th this help\n" - "\t[card memory] 1 = SRIX4K (default), 2 = SRI512" + "\t[card memory] 1 = SRIX4K (default), 2 = SRI512\n" "\tf filename, if no UID will be used as filename\n" "\n" "Example:\n" @@ -835,6 +835,8 @@ static int CmdHF14BDump(const char *Cmd) { uint8_t blocks = 0; iso14b_card_select_t card; + if (strlen(Cmd) < 1) return usage_hf_14b_dump(); + while (param_getchar(Cmd, cmdp) != 0x00 && !errors) { switch (tolower(param_getchar(Cmd, cmdp))) { case 'h':