summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-04-11 16:20:07 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-04-11 10:20:07 -0400
commit1034d9723db59b6b7354d6d9804735ebe333d4a1 (patch)
tree3b58040d0b97e3507625c123d59e5277d7c72a04 /cli/flags.rs
parent4ffe1612ff71c324fb0f0c23e1f92e9fa2d5473c (diff)
fix --v8-options (#2093)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs3
1 files changed, 2 insertions, 1 deletions
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") {