mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-29 02:31:00 +00:00
Merge pull request #174 from dongwenjuan/master
fix the format of code-block in README
This commit is contained in:
commit
65070524c3
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/king
|
||||||
* multiple short flags can be combined (but there currently is only one)
|
* multiple short flags can be combined (but there currently is only one)
|
||||||
* flag processing stops at the first `--`
|
* flag processing stops at the first `--`
|
||||||
|
|
||||||
|
```
|
||||||
$ go build
|
$ go build
|
||||||
$ ./statsd_exporter --help
|
$ ./statsd_exporter --help
|
||||||
usage: statsd_exporter [<flags>]
|
usage: statsd_exporter [<flags>]
|
||||||
|
@ -81,6 +82,7 @@ NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/king
|
||||||
"logger:syslog?appname=bob&local=7" or
|
"logger:syslog?appname=bob&local=7" or
|
||||||
"logger:stdout?json=true"
|
"logger:stdout?json=true"
|
||||||
--version Show application version.
|
--version Show application version.
|
||||||
|
```
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue