summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 76dbae30b..2b0b37b9a 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -90,8 +90,11 @@ pub fn create_cli_app<'a, 'b>() -> App<'a, 'b> {
.use_delimiter(true)
.require_equals(true)
.help("Set V8 command line options"),
- ).subcommand(SubCommand::with_name("version").about("Print the version"))
- .subcommand(
+ ).subcommand(
+ SubCommand::with_name("version")
+ .setting(AppSettings::DisableVersion)
+ .about("Print the version"),
+ ).subcommand(
SubCommand::with_name("fetch")
.setting(AppSettings::DisableVersion)
.about("Fetch the dependencies")