Merge pull request #174 from dongwenjuan/master

fix the format of code-block in README
This commit is contained in:
Matthias Rampke 2018-12-27 14:49:50 +00:00 committed by GitHub
commit 65070524c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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