mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-25 15:45:26 -07:00
fix help
This commit is contained in:
parent
774d60fa83
commit
6f2bc725ca
1 changed files with 3 additions and 2 deletions
|
@ -6235,7 +6235,8 @@ static int CmdHF14ADesReadData(const char *Cmd) {
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "hf mfdes read",
|
CLIParserInit(&ctx, "hf mfdes read",
|
||||||
"Read data from file. Key needs to be provided or flag --no-auth set (depend on file settings).",
|
"Read data from file. Key needs to be provided or flag --no-auth set (depend on file settings).",
|
||||||
"hf mfdes read --aid 123456 --fid 01 -> read file: app=123456, file=01, offset=0, all the data. use default channel settings from `default` command");
|
"hf mfdes read --aid 123456 --fid 01 -> read file: app=123456, file=01, offset=0, all the data. use default channel settings from `default` command\n"
|
||||||
|
"hf mfdes read --aid 123456 --fid 01 --type record --offset 000000 --length 000001 -> read one last record from record file. use default channel settings from `default` command");
|
||||||
|
|
||||||
void *argtable[] = {
|
void *argtable[] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
|
@ -6430,7 +6431,7 @@ static int CmdHF14ADesReadData(const char *Cmd) {
|
||||||
if (resplen > 0) {
|
if (resplen > 0) {
|
||||||
size_t reccount = resplen / reclen;
|
size_t reccount = resplen / reclen;
|
||||||
PrintAndLogEx(SUCCESS, "Read %u bytes from file 0x%02x from record %u record count %zu record length %zu", resplen, fnum, offset, reccount, reclen);
|
PrintAndLogEx(SUCCESS, "Read %u bytes from file 0x%02x from record %u record count %zu record length %zu", resplen, fnum, offset, reccount, reclen);
|
||||||
if (reccount > 0)
|
if (reccount > 1)
|
||||||
PrintAndLogEx(SUCCESS, "Lastest record at the bottom.");
|
PrintAndLogEx(SUCCESS, "Lastest record at the bottom.");
|
||||||
for (int i = 0; i < reccount; i++) {
|
for (int i = 0; i < reccount; i++) {
|
||||||
if (i != 0)
|
if (i != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue