From 54c524f3a0747b2192f52985604e40b2eadd647f Mon Sep 17 00:00:00 2001 From: Yoann Date: Mon, 11 Jul 2016 14:52:43 +0200 Subject: [PATCH] usage update with the two new options --- src/mfoc.1 | 3 +++ src/mfoc.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/mfoc.1 b/src/mfoc.1 index f59d0eb..2baa88f 100644 --- a/src/mfoc.1 +++ b/src/mfoc.1 @@ -25,6 +25,9 @@ Show summary of options. \fB\-k\fP \fIKEY\fR Initially try KEY in addition to the default keys. .TP +\fB\-K\fP \fIKEY\fR +Initially try KEY without the default keys. +.T \fB\-O\fP \fIFILE\fR Dump card contents to FILE. .TP diff --git a/src/mfoc.c b/src/mfoc.c index 24aba8e..5c0e312 100644 --- a/src/mfoc.c +++ b/src/mfoc.c @@ -767,7 +767,9 @@ void usage(FILE *stream, int errno) fprintf(stream, " h print this help and exit\n"); // fprintf(stream, " B instead of 'A' dump 'B' keys\n"); fprintf(stream, " k try the specified key in addition to the default keys\n"); + fprintf(stream, " K Like -k option but without the default keys\n"); fprintf(stream, " f parses a file of keys to add in addition to the default keys \n"); + fprintf(stream, " F Like -f option but without the default keys \n"); // fprintf(stream, " D number of distance probes, default is 20\n"); // fprintf(stream, " S number of sets with keystreams, default is 5\n"); fprintf(stream, " P number of probes per sector, instead of default of 20\n");