Skip to content

Commit

Permalink
cipher is now a long clap argument without default value
Browse files Browse the repository at this point in the history
i.e. the user has to explicitly pass the `--cipher` flag to `mullvad
api-access add shadowsocks ..` subcommand to configure a non-default cipher.
  • Loading branch information
MarkusPettersson98 committed Oct 20, 2023
1 parent b8ad94a commit 2793d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mullvad-cli/src/cmds/api_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2793d87

Please sign in to comment.