Notes that both "hcl" and "json" files are loaded from the config-dir.

The previous version only mentioned "json" but the behavior was to read
"hcl" files as well.
This commit is contained in:
Geoffrey Grosenbach 2018-07-05 15:23:39 -07:00
parent cd30299700
commit cc24a65d45
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ will exit with an error at startup.
* <a name="_config_dir"></a><a href="#_config_dir">`-config-dir`</a> - A directory of
configuration files to load. Consul will
load all files in this directory with the suffix ".json". The load order
load all files in this directory with the suffix ".json" or ".hcl". The load order
is alphabetical, and the the same merge routine is used as with the
[`config-file`](#_config_file) option above. This option can be specified multiple times
to load multiple directories. Sub-directories of the config directory are not loaded.