diff options
| 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 |
| commit | e3c986f45eeeb1bb3ba5e931ecf042907676b3df (patch) | |
| tree | a3f96c3eaa9f31ea3ad18549429a7d0fc700d055 /src/main.c | |
| parent | f6f5e09d00e2054e1f159bdbb3fdb2fe11794876 (diff) | |
COLORS!!!
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 | ||
