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:
Zack Zatkin-Gold
2017-05-12 15:22:29 -07:00
committed by Daniel Nelson
parent a871b64ac3
commit 61be19b1f0
43 changed files with 46 additions and 46 deletions

View File

@@ -74,7 +74,7 @@ InfluxDB-formatted endpoints. See below for more information.
### Example Output:
```
telegraf -config ~/ws/telegraf.conf -input-filter influxdb -test
telegraf --config ~/ws/telegraf.conf --input-filter influxdb --test
* Plugin: influxdb, Collection 1
> influxdb_database,database=_internal,host=tyrion,url=http://localhost:8086/debug/vars numMeasurements=10,numSeries=29 1463590500247354636
> influxdb_httpd,bind=:8086,host=tyrion,url=http://localhost:8086/debug/vars req=7,reqActive=1,reqDurationNs=14227734 1463590500247354636