summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs12
1 files changed, 11 insertions, 1 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 81981b278..1b0aab1cf 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)
}