Browse Source

Merge pull request #926 from cruatta/multiple-config-dir-help-text

Multiple config dir help text
pull/931/head
Ryan Breen 10 years ago
parent
commit
9a2f04ea73
  1. 2
      command/agent/command.go
  2. 6
      website/source/docs/agent/options.html.markdown

2
command/agent/command.go

@ -895,7 +895,7 @@ Options:
-config-dir=foo Path to a directory to read configuration files
from. This will read every file ending in ".json"
as configuration in this directory in alphabetical
order.
order. This can be specified multiple times.
-data-dir=path Path to a data directory to store agent state
-recursor=1.2.3.4 Address of an upstream DNS server.
Can be specified multiple times.

6
website/source/docs/agent/options.html.markdown

@ -103,8 +103,10 @@ The options below are all specified on the command-line.
configuration files to load. Consul will
load all files in this directory with the suffix ".json". The load order
is alphabetical, and the the same merge routine is used as with the
[`config-file`](#_config_file) option above. For more information
on the format of the configuration files, see the [Configuration Files](#configuration_files) section.
[`config-file`](#_config_file) option above. This option can be specified mulitple times
to load multiple directories. Sub-directories of the config directory are not loaded.
For more information on the format of the configuration files, see the
[Configuration Files](#configuration_files) section.
* <a name="_data_dir"></a><a href="#_data_dir">`-data-dir`</a> - This flag provides
a data directory for the agent to store state.

Loading…
Cancel
Save