mirror of
https://github.com/onyx-and-iris/q3rcon.git
synced 2024-11-25 01:50:47 +00:00
fix -p flag usage message
This commit is contained in:
parent
46d3e3fa4a
commit
08af9d3388
@ -28,8 +28,8 @@ func main() {
|
|||||||
flag.StringVar(&host, "h", "localhost", "hostname of the server (shorthand)")
|
flag.StringVar(&host, "h", "localhost", "hostname of the server (shorthand)")
|
||||||
flag.IntVar(&port, "port", 28960, "port of the server")
|
flag.IntVar(&port, "port", 28960, "port of the server")
|
||||||
flag.IntVar(&port, "p", 28960, "port of the server (shorthand)")
|
flag.IntVar(&port, "p", 28960, "port of the server (shorthand)")
|
||||||
flag.StringVar(&password, "password", "", "hostname of the server")
|
flag.StringVar(&password, "password", "", "rcon password")
|
||||||
flag.StringVar(&password, "P", "", "hostname of the server (shorthand)")
|
flag.StringVar(&password, "P", "", "rcon password (shorthand)")
|
||||||
|
|
||||||
flag.BoolVar(&interactive, "interactive", false, "run in interactive mode")
|
flag.BoolVar(&interactive, "interactive", false, "run in interactive mode")
|
||||||
flag.BoolVar(&interactive, "i", false, "run in interactive mode")
|
flag.BoolVar(&interactive, "i", false, "run in interactive mode")
|
||||||
|
Loading…
Reference in New Issue
Block a user