X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/51fef480164562c0225285eea9cd3ede29d2505e..58bb4b5358c798b7dd832e55a320891f3ec5d280:/client/src/cli.rs diff --git a/client/src/cli.rs b/client/src/cli.rs index a98b16d3..f211bb20 100644 --- a/client/src/cli.rs +++ b/client/src/cli.rs @@ -69,7 +69,7 @@ pub enum CliCommands { recipient: Vec, #[clap(short = 'a', long = "all-recipients")] all_recipients: bool, - #[clap(long, parse(try_from_str))] + #[clap(long)] blocked: Option, #[clap(long)] name: Option, @@ -245,16 +245,16 @@ pub enum CliCommands { device_name: Option, }, UpdateConfiguration { - #[clap(long = "read-receipts", parse(try_from_str))] + #[clap(long = "read-receipts")] read_receipts: Option, - #[clap(long = "unidentified-delivery-indicators", parse(try_from_str))] + #[clap(long = "unidentified-delivery-indicators")] unidentified_delivery_indicators: Option, - #[clap(long = "typing-indicators", parse(try_from_str))] + #[clap(long = "typing-indicators")] typing_indicators: Option, - #[clap(long = "link-previews", parse(try_from_str))] + #[clap(long = "link-previews")] link_previews: Option, }, UpdateContact {