Commit 0841a94c authored by Philippe Teuwen's avatar Philippe Teuwen

nfc-mfclassic: allow option f for read operation too

parent 29c7ef19
TBD - 1.7.0
-----------
Fixes:
- nfc-mfclassic: allow option f for read operation too
Apr 05, 2013 - 1.7.0-rc7 (release candidate)
--------------------------------------------
......
......@@ -486,6 +486,7 @@ main(int argc, const char *argv[])
bUseKeyA = tolower((int)((unsigned char) * (argv[2]))) == 'a';
bTolerateFailures = tolower((int)((unsigned char) * (argv[2]))) != (int)((unsigned char) * (argv[2]));
bUseKeyFile = (argc > 4);
bForceKeyFile = ((argc > 5) && (strcmp((char *)argv[5], "f") == 0));
} else if (strcmp(command, "w") == 0 || strcmp(command, "W") == 0) {
if (argc < 4) {
print_usage(argv[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment