From 04fee49c225f44bd8346f14519331d99fc05ed82 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Thu, 4 Aug 2022 23:45:53 +1000 Subject: [PATCH] Add new option `Options::force` Signed-off-by: Jiahao XU --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 8d74a90a..5d21889e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -131,6 +131,10 @@ struct Options { #[clap(help_heading = "Options", long)] secure: bool, + /// Force a crate to be installed even if it is already installed. + #[clap(help_heading = "Options", long)] + force: bool, + /// Require a minimum TLS version from remote endpoints. /// /// The default is not to require any minimum TLS version, and use the negotiated highest