fix -p flag usage message

This commit is contained in:
onyx-and-iris 2024-11-04 15:30:03 +00:00
parent 46d3e3fa4a
commit 08af9d3388

View File

@ -28,8 +28,8 @@ func main() {
flag.StringVar(&host, "h", "localhost", "hostname of the server (shorthand)")
flag.IntVar(&port, "port", 28960, "port of the server")
flag.IntVar(&port, "p", 28960, "port of the server (shorthand)")
flag.StringVar(&password, "password", "", "hostname of the server")
flag.StringVar(&password, "P", "", "hostname of the server (shorthand)")
flag.StringVar(&password, "password", "", "rcon password")
flag.StringVar(&password, "P", "", "rcon password (shorthand)")
flag.BoolVar(&interactive, "interactive", false, "run in interactive mode")
flag.BoolVar(&interactive, "i", false, "run in interactive mode")