diff --git a/src/commands/config.rs b/src/commands/config.rs index 0ef3db8cfd..d7a216245e 100644 --- a/src/commands/config.rs +++ b/src/commands/config.rs @@ -30,7 +30,13 @@ lazy_static! { long_about = "Run the IOx server.\n\nThe configuration options below can be \ set either with the command line flags or with the specified environment \ variable. If there is a file named '.env' in the current working directory, \ - it is sourced before loading the configuration." + it is sourced before loading the configuration. + +Configuration is loaded from the following sources (highest precedence first): + - command line arguments + - user set environment variables + - .env file contents + - pre-configured default values" )] pub struct Config { /// This controls the IOx server logging level, as described in diff --git a/src/main.rs b/src/main.rs index ff6f02468a..7e35d58105 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,8 +41,8 @@ Examples: # Run the InfluxDB IOx server: influxdb_iox - # Display all current config settings - influxdb_iox config show + # Display all server settings + influxdb_iox server --help # Run the InfluxDB IOx server with extra verbose logging influxdb_iox -v