Add help message and bump revision to 0.05
This commit is contained in:
parent
a94f01bb1a
commit
42b5ae2577
|
@ -42,7 +42,7 @@
|
|||
/* Easycard specific includes */
|
||||
#include "easycard.h"
|
||||
|
||||
#define VERSION "0.04"
|
||||
#define VERSION "0.05"
|
||||
#define COPYRIGHT \
|
||||
"EasyTool "VERSION" (C) 2010 by Harald Welte <laforge@gnumonks.org>\n" \
|
||||
"This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY\n\n" \
|
||||
|
@ -132,6 +132,10 @@ static void dump_easycard(mifare_tag *mft)
|
|||
|
||||
static void print_help(void)
|
||||
{
|
||||
printf( " -a --dump-access-bits\t\tDump the MIFARE access bits\n"
|
||||
" -r --alter-recharge DELTA\tAlter the last recharge\n"
|
||||
" -p --alter-purchase DELTA\tAlter the last purchase\n"
|
||||
" -h --help\t\t\tPrint this help message\n");
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
|
Loading…
Reference in New Issue