diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-10-18 13:17:43 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-10-20 10:17:23 +0200 |
| commit | 2793d877aa6288d56b89b9a860a48560331b36ee (patch) | |
| tree | e68a34a8138bee45a35680d5b1a825eb3f3b62c5 /mullvad-cli/src | |
| parent | b8ad94a30d3e630410b74dc71e4f9f74412cd91c (diff) | |
| download | mullvadvpn-2793d877aa6288d56b89b9a860a48560331b36ee.tar.xz mullvadvpn-2793d877aa6288d56b89b9a860a48560331b36ee.zip | |
`cipher` is now a `long` `clap` argument without default value
i.e. the user has to explicitly pass the `--cipher` flag to `mullvad
api-access add shadowsocks ..` subcommand to configure a non-default cipher.
Diffstat (limited to 'mullvad-cli/src')
| -rw-r--r-- | mullvad-cli/src/cmds/api_access.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-cli/src/cmds/api_access.rs b/mullvad-cli/src/cmds/api_access.rs index da7d1047e9..441c549c71 100644 --- a/mullvad-cli/src/cmds/api_access.rs +++ b/mullvad-cli/src/cmds/api_access.rs @@ -277,7 +277,7 @@ pub enum AddCustomCommands { /// Password for authentication password: String, /// Cipher to use - #[arg(value_parser = SHADOWSOCKS_CIPHERS, default_value = "aes-256-gcm")] + #[arg(long, value_parser = SHADOWSOCKS_CIPHERS)] cipher: String, /// Disable the use of this custom access method. It has to be manually /// enabled at a later stage to be used when accessing the Mullvad API. |
