From 08af9d338800b0ae60f119d7560aedd4775b560d Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 4 Nov 2024 15:30:03 +0000 Subject: [PATCH] fix -p flag usage message --- cmd/q3rcon/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/q3rcon/main.go b/cmd/q3rcon/main.go index 23d3f59..19dd0cc 100644 --- a/cmd/q3rcon/main.go +++ b/cmd/q3rcon/main.go @@ -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")