mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-23 07:09:52 +01:00
fix shortcut for host
This commit is contained in:
parent
9039ef79cf
commit
9f485b14e0
2
main.go
2
main.go
@ -53,7 +53,7 @@ func init() {
|
||||
flag.IntVar(&port, "port", defaultPort, "port to listen (default: 8080)")
|
||||
flag.IntVar(&port, "p", defaultPort, "port to listen (default: 8080 ; shorthand)")
|
||||
flag.StringVar(&host, "host", defaultHost, "host to listen on (default all interfaces on host)")
|
||||
flag.StringVar(&host, "host", defaultHost, "host to listen on (default all interfaces on host; shorthand)")
|
||||
flag.StringVar(&host, "h", defaultHost, "host to listen on (default all interfaces on host; shorthand)")
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user