From f81b772577451a5d20593a02b5a717a61c3b4d79 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 31 Dec 2021 12:54:58 +0100 Subject: [PATCH] gview: fix parsing and desc --- client/src/cmdhfmf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index eaa49cd4a..eb4097ee7 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -6137,7 +6137,7 @@ static int CmdHF14AGen4View(const char *Cmd) { CLIParserContext *ctx; CLIParserInit(&ctx, "hf mf gview", - "View `magic gen3 gtu` card memory", + "View `magic gen4 gtu` card memory", "hf mf gview\n" "hf mf gview --4k" ); @@ -6147,7 +6147,7 @@ static int CmdHF14AGen4View(const char *Cmd) { arg_lit0(NULL, "1k", "MIFARE Classic 1k / S50 (def)"), arg_lit0(NULL, "2k", "MIFARE Classic/Plus 2k"), arg_lit0(NULL, "4k", "MIFARE Classic 4k / S70"), - arg_strx0("p", "pwd", "", "password 4bytes"), + arg_str0("p", "pwd", "", "password 4bytes"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true);