Fix telegraf example arguments (#2788)
Many of the examples provided within documentation are using a single dash for the command line arguments, but the telegraf executable explicitly has two dashes. There are also some inconsistencies with the ordering of the command line argument examples. I've ordered them so that the examples will show: config, config-directory, input-filter, test
This commit is contained in:
committed by
Daniel Nelson
parent
f74687dcc0
commit
dd537b3382
@@ -51,6 +51,6 @@ This input plugin will test HTTP/HTTPS connections.
|
||||
### Example Output:
|
||||
|
||||
```
|
||||
$ ./telegraf -config telegraf.conf -input-filter http_response -test
|
||||
$ ./telegraf --config telegraf.conf --input-filter http_response --test
|
||||
http_response,method=GET,server=http://www.github.com http_response_code=200i,response_time=6.223266528 1459419354977857955
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user