0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00

docs: Update --config flag help text (#12059)

This commit is contained in:
Bartek Iwańczuk 2021-09-14 00:41:34 +02:00 committed by GitHub
parent cba1e7b5a3
commit 94c5cd7b2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}