summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index bd57187d6..ca9887351 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -119,11 +119,6 @@ fn add_run_args<'a, 'b>(app: App<'a, 'b>) -> App<'a, 'b> {
.help("Allow all permissions"),
)
.arg(
- Arg::with_name("no-prompt")
- .long("no-prompt")
- .help("Do not use prompts"),
- )
- .arg(
Arg::with_name("no-fetch")
.long("no-fetch")
.help("Do not download remote modules"),
@@ -707,9 +702,6 @@ fn parse_run_args(mut flags: DenoFlags, matches: &ArgMatches) -> DenoFlags {
flags.allow_write = true;
flags.allow_hrtime = true;
}
- if matches.is_present("no-prompt") {
- flags.no_prompts = true;
- }
if matches.is_present("no-fetch") {
flags.no_fetch = true;
}