diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-09-14 00:41:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 00:41:34 +0200 |
commit | 94c5cd7b2ce995a2ce9f58da706fc5ec6caf6c77 (patch) | |
tree | 583d2d025f4b9f9d8ff1998f80b0088f5cb985d4 /cli/flags.rs | |
parent | cba1e7b5a3c239235c0e855dc430c8aa89272401 (diff) |
docs: Update --config flag help text (#12059)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r-- | cli/flags.rs | 12 |
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) } |