Skip to content

Commit

Permalink
Revert 4ae6e53
Browse files Browse the repository at this point in the history
This is required after all, although not clearly explained.
  • Loading branch information
DimitriPapadopoulos committed Nov 5, 2023
1 parent 5b99a15 commit a19496e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,16 +271,16 @@ int main(int argc, char **argv)
struct vpn_config cli_cfg = invalid_cfg;

const struct option long_options[] = {
{"help", no_argument, NULL, 0},
{"help", no_argument, NULL, 'h'},
{"version", no_argument, NULL, 0},
{"config", required_argument, NULL, 0},
{"config", required_argument, NULL, 'c'},
{"pinentry", required_argument, NULL, 0},
{"realm", required_argument, NULL, 0},
{"username", required_argument, NULL, 0},
{"password", required_argument, NULL, 0},
{"username", required_argument, NULL, 'u'},
{"password", required_argument, NULL, 'p'},
{"cookie", required_argument, NULL, 0},
{"cookie-on-stdin", no_argument, NULL, 0},
{"otp", required_argument, NULL, 0},
{"otp", required_argument, NULL, 'o'},
{"otp-prompt", required_argument, NULL, 0},
{"otp-delay", required_argument, NULL, 0},
{"no-ftm-push", no_argument, &cli_cfg.no_ftm_push, 1},
Expand Down

0 comments on commit a19496e

Please sign in to comment.