summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
authorJarrett Helton <jaydhelton@gmail.com>2020-08-12 14:22:06 -0400
committerGitHub <noreply@github.com>2020-08-12 14:22:06 -0400
commitde4e1fbdf0d013893516479aa6e15b15d6319e38 (patch)
treefd07bd9dbcd674222ad30007bc6b22ccb0a65204 /cli/flags.rs
parent18ec1290afcd78c61933ecb52e3ad97cf644f0d5 (diff)
feat: add support for --no-check flag in Deno install (#6948)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index ce4d48dcc..6c58238de 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -362,6 +362,7 @@ fn install_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
permission_args_parse(flags, matches);
config_arg_parse(flags, matches);
ca_file_arg_parse(flags, matches);
+ no_check_arg_parse(flags, matches);
unstable_arg_parse(flags, matches);
let root = if matches.is_present("root") {
@@ -731,6 +732,7 @@ fn install_subcommand<'a, 'b>() -> App<'a, 'b> {
.short("f")
.help("Forcefully overwrite existing installation")
.takes_value(false))
+ .arg(no_check_arg())
.arg(ca_file_arg())
.arg(unstable_arg())
.arg(config_arg())