some text improvements

This commit is contained in:
merlokk 2019-11-04 20:20:42 +02:00
parent 0b5cc59bcd
commit 766262033a

View file

@ -39,7 +39,7 @@ int openAIDFile(json_t **root) {
goto out; goto out;
} }
PrintAndLogEx(SUCCESS, "Loaded file (%s) OK.", path); PrintAndLogEx(SUCCESS, "Loaded file (%s) OK. %d records.", path, json_array_size(*root));
out: out:
free(path); free(path);
return retval; return retval;
@ -133,6 +133,7 @@ int PrintAIDDescription(char *aid, bool verbose) {
PrintAndLogEx(SUCCESS, "AID %s | %s | %s", vaid, vendor, name); PrintAndLogEx(SUCCESS, "AID %s | %s | %s", vaid, vendor, name);
} else { } else {
PrintAndLogEx(NORMAL, "----------------------------------------"); PrintAndLogEx(NORMAL, "----------------------------------------");
PrintAndLogEx(SUCCESS, "Input AID: %s", aid);
if (aid) if (aid)
PrintAndLogEx(SUCCESS, "Found AID: %s", vaid); PrintAndLogEx(SUCCESS, "Found AID: %s", vaid);
if (vendor) if (vendor)