diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index decca851f..4d08bf5b2 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -3902,7 +3902,7 @@ int CmdHF14AMfELoad(const char *Cmd) { arg_lit0(NULL, "2k", "MIFARE Classic/Plus 2k"), arg_lit0(NULL, "4k", "MIFARE Classic 4k / S70"), arg_lit0(NULL, "ul", "MIFARE Ultralight family"), - arg_int0(NULL, "blks", "", "manually set number of blocks (overrides)"), + arg_int0("q", "qty", "", "manually set number of blocks (overrides)"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, false); @@ -3990,7 +3990,7 @@ int CmdHF14AMfELoad(const char *Cmd) { // update expected blocks to match converted data. block_cnt = datalen / 4; - PrintAndLogEx(INFO, "MIFARE Ultralight override, will use %d ( %u bytes )", block_cnt, block_cnt * block_width); + PrintAndLogEx(INFO, "MIFARE Ultralight override, will use %d blocks ( %u bytes )", block_cnt, block_cnt * block_width); } PrintAndLogEx(INFO, "Uploading to emulator memory"); diff --git a/client/src/cmdhfmfu.c b/client/src/cmdhfmfu.c index 88b7849d5..6fe59084d 100644 --- a/client/src/cmdhfmfu.c +++ b/client/src/cmdhfmfu.c @@ -2536,22 +2536,21 @@ static int CmdHF14AMfUeLoad(const char *Cmd) { CLIParserContext *ctx; CLIParserInit(&ctx, "hf mfu eload", - "It loads emul dump from the file `filename.eml`", - "hf mfu eload -u -f myfile\n" - "hf mfu eload -u -f myfile -q 57 -> load 57 blocks from myfile" + "Load emulator memory with data from `filename.eml` dump file\n" + "\nSee `script run data_mfu_bin2eml` to convert the .bin to .eml", + "hf mfu eload --ul -f hf-mfu-04010203040506.eml\n" + "hf mfu eload --ul -f hf-mfu-04010203040506.eml -q 57 -> load 57 blocks from myfile" ); void *argtable[] = { arg_param_begin, - arg_str1("f", "file", "", "specify a filename w/o `.eml` to load"), - arg_lit1("u", NULL, "Ultralight Family type"), + arg_str1("f", "file", "", "filename of dump"), + arg_lit1(NULL, "ul", "MIFARE Ultralight family"), arg_int0("q", "qty", "", "number of blocks to load from eml file"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, false); CLIParserFree(ctx); - - PrintAndLogEx(HINT, "Hint: See " _YELLOW_("`script run data_mfu_bin2eml`") " to convert the .bin to .eml"); return CmdHF14AMfELoad(Cmd); } //