diff options
-rw-r--r-- | include/libnpass/libnpass.h | 2 | ||||
-rw-r--r-- | src/npass/npass.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libnpass/libnpass.h b/include/libnpass/libnpass.h index d7eef75..c5e756f 100644 --- a/include/libnpass/libnpass.h +++ b/include/libnpass/libnpass.h @@ -2,7 +2,7 @@ typedef enum { PASS_GEN_DIGIT = 0, - PASS_GEN_ALPHA = 1, + PASS_GEN_ALNUM = 1, PASS_GEN_PRINT = 2, } pass_gen_t; diff --git a/src/npass/npass.c b/src/npass/npass.c index 4eba07f..e1f0564 100644 --- a/src/npass/npass.c +++ b/src/npass/npass.c @@ -104,7 +104,7 @@ int gen(int argc, char *argv[]) { gen = PASS_GEN_DIGIT; break; case 'a': - gen = PASS_GEN_ALPHA; + gen = PASS_GEN_ALNUM; break; case 'p': gen = PASS_GEN_PRINT; |