summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-07-26 09:36:56 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-07-26 07:36:56 +0000
commit3ae808986d583ab4e151a7799acee4680c66bd78 (patch)
tree5c02732e74927b2ded8d5f5e0c8b6e23da061350 /cli/flags.rs
parentb7026816b6c45be0d68880568989698856b30b7f (diff)
cli: unify deno -h options (#2682)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 535ed500a..0a6b353f9 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -116,7 +116,7 @@ Examples: https://github.com/WICG/import-maps#the-import-map",
pub fn create_cli_app<'a, 'b>() -> App<'a, 'b> {
add_run_args(App::new("deno"))
.bin_name("deno")
- .global_settings(&[AppSettings::ColorNever])
+ .global_settings(&[AppSettings::ColorNever, AppSettings::UnifiedHelpMessage])
.settings(&[AppSettings::DisableVersion, AppSettings::AllowExternalSubcommands])
.after_help(ENV_VARIABLES_HELP)
.long_about("A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio.