Skip to content

Commit c6b79e0

Browse files
authored
Corrected port default to be 25575 (#15)
1 parent 31e3809 commit c6b79e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func init() {
7676
RootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.rcon-cli.yaml)")
7777
RootCmd.PersistentFlags().String("host", "localhost", "RCON server's hostname")
7878
RootCmd.PersistentFlags().String("password", "", "RCON server's password")
79-
RootCmd.PersistentFlags().Int("port", 27015, "Server's RCON port")
79+
RootCmd.PersistentFlags().Int("port", 25575, "Server's RCON port")
8080
err := viper.BindPFlags(RootCmd.PersistentFlags())
8181
if err != nil {
8282
log.Fatal(err)

0 commit comments

Comments
 (0)