From 3ddd4ef2c1ba1b8e82939223e6c285c6666f4ed1 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 29 Dec 2006 11:27:40 +0000 Subject: implement help message git-svn-id: https://svn.gnumonks.org/trunk/librfid@1944 e0336214-984f-0b4b-a45f-81c69e1f0ede --- utils/mifare-tool.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/mifare-tool.c b/utils/mifare-tool.c index f9a6a49..4062eaa 100644 --- a/utils/mifare-tool.c +++ b/utils/mifare-tool.c @@ -43,6 +43,11 @@ static char *program_name; static void help(void) { + printf( " -h --help Print this help message\n" + " -r --read Read a mifare sector\n" + " -l --loop-read Loop reading a mifare sector\n" + " -w --write Write a mifare sector\n" + " -k --key Specify mifare access key (in hex tuples)\n"); } static struct option mifare_opts[] = { -- cgit v1.2.3