Clarify commandline arguments

This commit is contained in:
Pascal Bach
2017-03-07 22:46:40 +01:00
parent 5a76e283bd
commit 66c5477d32
2 changed files with 4 additions and 4 deletions

View File

@@ -22,9 +22,9 @@ Usage:
$GOPATH/bin/fritzbox_exporter -h
Usage of ./fritzbox_exporter:
-gateway-address string
The URL of the upnp service (default "fritz.box")
The hostname or IP of the FRITZ!Box (default "fritz.box")
-gateway-port int
The URL of the upnp service (default 49000)
The port of the FRITZ!Box UPnP service (default 49000)
-listen-address string
The address to listen on for HTTP requests. (default ":9133")
-test

View File

@@ -32,8 +32,8 @@ var (
flag_test = flag.Bool("test", false, "print all available metrics to stdout")
flag_addr = flag.String("listen-address", ":9133", "The address to listen on for HTTP requests.")
flag_gateway_address = flag.String("gateway-address", "fritz.box", "The URL of the upnp service")
flag_gateway_port = flag.Int("gateway-port", 49000, "The URL of the upnp service")
flag_gateway_address = flag.String("gateway-address", "fritz.box", "The hostname or IP of the FRITZ!Box")
flag_gateway_port = flag.Int("gateway-port", 49000, "The port of the FRITZ!Box UPnP service")
)
var (