diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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 | ||
