Add verbose mode flag
This commit is contained in:
parent
871befaf01
commit
642effa07b
1 changed files with 5 additions and 1 deletions
4
main.c
4
main.c
|
@ -83,6 +83,7 @@ main(int argc, char *argv[])
|
|||
char * keyfile = NULL;
|
||||
uint8_t* passwd = NULL;
|
||||
int numbers_only = 0;
|
||||
int verbose = 0;
|
||||
int rc;
|
||||
|
||||
#ifdef NEED_WARN_PROGNAME
|
||||
|
@ -116,6 +117,9 @@ main(int argc, char *argv[])
|
|||
case 't':
|
||||
unit_tests();
|
||||
break;
|
||||
case 'v':
|
||||
verbose = 1;
|
||||
break;
|
||||
default:
|
||||
usage();
|
||||
}
|
||||
|
|
Reference in a new issue