diff --git a/src/examples/nfc-mftool.c b/src/examples/nfc-mftool.c index ba09186..5945062 100644 --- a/src/examples/nfc-mftool.c +++ b/src/examples/nfc-mftool.c @@ -298,14 +298,17 @@ typedef enum { void print_usage(const char* pcProgramName) { - printf("\n"); + printf("Usage: "); printf("%s r|w a|b []\n", pcProgramName); - printf("\n"); - printf("r|w - Perform read from (r) or write to (w) card\n"); - printf("a|b - Use A or B keys for action\n"); - printf(" - MiFare Dump (MFD) used to write (card to MFD) or (MFD to card)\n"); - printf(" - MiFare Dump (MFD) that contain the keys (optional)\n"); - printf("\n"); + printf(" r|w - Perform read from (r) or write to (w) card\n"); + printf(" a|b - Use A or B keys for action\n"); + printf(" - MiFare Dump (MFD) used to write (card to MFD) or (MFD to card)\n"); + printf(" - MiFare Dump (MFD) that contain the keys (optional)\n"); + printf("Or: "); + printf("%s x \n", pcProgramName); + printf(" x - Extract payload (data blocks) from MFD\n"); + printf(" - MiFare Dump (MFD) that contains wanted payload\n"); + printf(" - Binary file where payload will be extracted\n"); } int main(int argc, const char* argv[])