Print help if unknown arg for hitag reader/writer

This commit is contained in:
Victor 2019-07-04 22:11:18 +01:00
commit 773845f411

View file

@ -551,6 +551,7 @@ static int CmdLFHitagReader(const char *Cmd) {
case WHTSF_CHALLENGE: case WHTSF_CHALLENGE:
case WHTSF_KEY: case WHTSF_KEY:
case WHT2F_CRYPTO: case WHT2F_CRYPTO:
default:
return usage_hitag_reader(); return usage_hitag_reader();
} }
@ -665,6 +666,7 @@ static int CmdLFHitagWriter(const char *Cmd) {
case RHT2F_CRYPTO: case RHT2F_CRYPTO:
case RHT2F_TEST_AUTH_ATTEMPTS: case RHT2F_TEST_AUTH_ATTEMPTS:
case RHT2F_UID_ONLY: case RHT2F_UID_ONLY:
default:
return usage_hitag_writer(); return usage_hitag_writer();
} }