summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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