mirror of
https://github.com/sberk42/fritzbox_exporter.git
synced 2026-02-14 11:49:50 +00:00
Clarify commandline arguments
This commit is contained in:
@@ -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
|
||||
|
||||
4
main.go
4
main.go
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user