summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-07-30 22:12:22 -0500
committer@syxhe <https://t.me/syxhe>2024-07-30 22:12:22 -0500
commite3c986f45eeeb1bb3ba5e931ecf042907676b3df (patch)
treea3f96c3eaa9f31ea3ad18549429a7d0fc700d055 /src/main.c
parentf6f5e09d00e2054e1f159bdbb3fdb2fe11794876 (diff)
COLORS!!!
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 7da36b8..2eb512c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -55,6 +55,12 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
55 55
56 switch(key) { 56 switch(key) {
57 case 'p': 57 case 'p':
58 /* Specifying the start option of "-p=<phrase>" errors out unless this is done.
59 // Technically a user should use --passphrase=<phrase> if they want to use the = sign, but I think
60 // this is how it should work. RMS can suck it */
61 if(*arg == '=')
62 arg++;
63
58 args->inputpass = arg; 64 args->inputpass = arg;
59 break; 65 break;
60 66