Skip to content

Commit

Permalink
docs: Update --config flag help text (denoland#12059)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Sep 13, 2021
1 parent cba1e7b commit 94c5cd7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion cli/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 94c5cd7

Please sign in to comment.