summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 8bef2d2ff..a864c2db3 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -300,7 +300,7 @@ fn main() {
DenoSubcommand::Repl => run_repl(flags, argv),
DenoSubcommand::Run => run_script(flags, argv),
DenoSubcommand::Types => types_command(),
- DenoSubcommand::Version => run_script(flags, argv),
+ DenoSubcommand::Version => run_repl(flags, argv),
DenoSubcommand::Xeval => xeval_command(flags, argv),
}
}