From 94c5cd7b2ce995a2ce9f58da706fc5ec6caf6c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 14 Sep 2021 00:41:34 +0200 Subject: [PATCH] docs: Update --config flag help text (#12059) --- cli/flags.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/cli/flags.rs b/cli/flags.rs index 81981b2786147..1b0aab1cf18d3 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -1629,7 +1629,17 @@ fn config_arg<'a, 'b>() -> Arg<'a, 'b> { .short("c") .long("config") .value_name("FILE") - .help("Load tsconfig.json configuration file") + .help("Load configuration file") + .long_help( + "Load configuration file. +Before 1.14 Deno only supported loading tsconfig.json that allowed +to customise TypeScript compiler settings. + +Starting with 1.14 configuration file can be used to configure different +subcommands like `deno lint` or `deno fmt`. + +It's recommended to use `deno.json` or `deno.jsonc` as a filename.", + ) .takes_value(true) }