Skip to content

Commit

Permalink
clearify commandline parameter usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Oelmüller committed Feb 27, 2019
1 parent c0ec042 commit bfde553
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ elasticsearch_exporter --help
| web.telemetry-path | 1.0.2 | Path under which to expose metrics. | /metrics |
| version | 1.0.2 | Show version info on stdout and exit. | |

All commandline parameters can be provided as environment variables. The environment variable name is derived from the parameter name
Commandline parameters start with a single `-` for versions less than `1.1.0rc1`.
For versions greater than `1.1.0rc1`, commandline parameters are specified with `--`. Also, all commandline parameters can be provided as environment variables. The environment variable name is derived from the parameter name
by replacing `.` with `_` and upper-casing the parameter name.

### Metrics
Expand Down

0 comments on commit bfde553

Please sign in to comment.