mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
Merge pull request #971 from cberetta/master
'hf 14b dump' without params now calls help and corrected a typo
This commit is contained in:
commit
39b2896e7c
1 changed files with 4 additions and 2 deletions
|
@ -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] <f filname> \n"
|
||||
"Usage: hf 14b dump [h] [card memory] <f filename> \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 <name> filename, if no <name> 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':
|
||||
|
|
Loading…
Reference in a new issue