summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-09-12 23:34:54 +0200
committerGitHub <noreply@github.com>2020-09-12 23:34:54 +0200
commit82d0f7ec84ccf8652441b5de620e85180ce55fc0 (patch)
treecb9b51a5c2a4711c2d32d53f582a20813b910630 /cli/flags.rs
parentd048f58f0538d2ea7c8a418119f5092d3db719ce (diff)
chore: remove --no-check from deno info (#7439)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 18fd3b29e..9dcfad43d 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -478,7 +478,6 @@ fn info_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
ca_file_arg_parse(flags, matches);
unstable_arg_parse(flags, matches);
let json = matches.is_present("json");
- no_check_arg_parse(flags, matches);
flags.subcommand = DenoSubcommand::Info {
file: matches.value_of("file").map(|f| f.to_string()),
json,
@@ -874,7 +873,8 @@ TypeScript compiler cache: Subdirectory containing TS compiler output.",
.arg(Arg::with_name("file").takes_value(true).required(false))
.arg(reload_arg().requires("file"))
.arg(ca_file_arg())
- .arg(no_check_arg())
+ // TODO(lucacasonato): remove for 2.0
+ .arg(no_check_arg().hidden(true))
.arg(unstable_arg())
.arg(
Arg::with_name("json")