From 1034d9723db59b6b7354d6d9804735ebe333d4a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 11 Apr 2019 16:20:07 +0200 Subject: fix --v8-options (#2093) --- cli/flags.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/flags.rs b/cli/flags.rs index 075394a55..9f6a978b2 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -230,7 +230,8 @@ pub fn set_flags( if matches.is_present("v8-options") { // display v8 help and exit - v8_set_flags(vec!["deno".to_string(), "--help".to_string()]); + // TODO(bartlomieju): this relies on `v8_set_flags` to swap `--v8-options` to help + v8_set_flags(vec!["deno".to_string(), "--v8-options".to_string()]); } if matches.is_present("v8-flags") { -- cgit v1.2.3