From f605970307d2b72a7686510f2454a58c7693e703 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 20 May 2015 23:52:56 +0200 Subject: [PATCH] FIX: call the wrong usage_hf_mfu method. CHG: minor help text changes. --- client/cmdhfmfu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmfu.c b/client/cmdhfmfu.c index 9b954e68..147bbb92 100644 --- a/client/cmdhfmfu.c +++ b/client/cmdhfmfu.c @@ -928,7 +928,7 @@ int CmdHF14AMfUWrBl(const char *Cmd){ if(errors) return usage_hf_mfu_wrbl(); } - if ( blockNo == -1 ) return usage_hf_mfu_rdbl(); + if ( blockNo == -1 ) return usage_hf_mfu_wrbl(); // Swap endianness if (swapEndian && hasAuthKey) keyPtr = SwapEndian64(authenticationkey, 16, 8); @@ -1134,7 +1134,8 @@ int usage_hf_mfu_rdbl(void) { } int usage_hf_mfu_wrbl(void) { - PrintAndLog("Usage: hf mfu wrbl [w]"); + PrintAndLog("Write a block. It autodetects card type.\n"); + PrintAndLog("Usage: hf mfu wrbl b d k l\n"); PrintAndLog(" Options:"); PrintAndLog(" h : this help"); PrintAndLog(" b : block to write"); -- 2.39.5