summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-12-29 11:27:40 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-12-29 11:27:40 +0000
commit3ddd4ef2c1ba1b8e82939223e6c285c6666f4ed1 (patch)
tree0e6a24735f78df7a1fc1a26ee21fc50c86a845b5 /utils
parentfff01187a00336d1db44469a5e1c503bf2a7da52 (diff)
implement help message
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1944 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'utils')
-rw-r--r--utils/mifare-tool.c5
1 files changed, 5 insertions, 0 deletions
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[] = {
personal git repositories of Harald Welte. Your mileage may vary