mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
disable --version flag from deno version (#2226)
This commit is contained in:
parent
78bce41c14
commit
02596c08bd
1 changed files with 5 additions and 2 deletions
|
@ -90,8 +90,11 @@ pub fn create_cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||||
.use_delimiter(true)
|
.use_delimiter(true)
|
||||||
.require_equals(true)
|
.require_equals(true)
|
||||||
.help("Set V8 command line options"),
|
.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")
|
SubCommand::with_name("fetch")
|
||||||
.setting(AppSettings::DisableVersion)
|
.setting(AppSettings::DisableVersion)
|
||||||
.about("Fetch the dependencies")
|
.about("Fetch the dependencies")
|
||||||
|
|
Loading…
Reference in a new issue