From 773845f4116e30212f7d7b0087957ab275e4f3ba Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 4 Jul 2019 22:11:18 +0100 Subject: [PATCH] Print help if unknown arg for hitag reader/writer --- client/cmdlfhitag.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/cmdlfhitag.c b/client/cmdlfhitag.c index 998512575..27c352c53 100644 --- a/client/cmdlfhitag.c +++ b/client/cmdlfhitag.c @@ -551,6 +551,7 @@ static int CmdLFHitagReader(const char *Cmd) { case WHTSF_CHALLENGE: case WHTSF_KEY: case WHT2F_CRYPTO: + default: return usage_hitag_reader(); } @@ -665,6 +666,7 @@ static int CmdLFHitagWriter(const char *Cmd) { case RHT2F_CRYPTO: case RHT2F_TEST_AUTH_ATTEMPTS: case RHT2F_UID_ONLY: + default: return usage_hitag_writer(); }