diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-07 14:01:12 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-07 14:01:12 +0530 |
commit | efdbb3430a4315582102dc8ffe695774335474b2 (patch) | |
tree | 67719853553a74432f28f812729f8ef802b95651 | |
parent | 10e8ddd971e71dcfc19be6f3161a91658fecfaab (diff) |
libnpass/pass_gen_t: PASS_GEN_ALPHA -> PASS_GEN_ALNUM
-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; |