Fixed arg parsing

This commit is contained in:
Aram
2016-05-02 00:05:13 +02:00
parent c3b143e5e6
commit 0e104ae147

View File

@ -580,7 +580,7 @@ int main (int argc, const char * argv[]) {
return 1;
}
if(argc < 4){
if(argc < 6){
printf("%s <known key> <for block> <A|B> <target block> <A|B>\n", argv[0]);
nfc_close(pnd);
return 1;