Use localhost for dbaddr default
parent
e8fc5aad13
commit
cd2118dfec
|
@ -18,7 +18,7 @@ func main() {
|
||||||
dbuser := flag.String("dbuser", "pokerogue", "database username")
|
dbuser := flag.String("dbuser", "pokerogue", "database username")
|
||||||
dbpass := flag.String("dbpass", "", "database password")
|
dbpass := flag.String("dbpass", "", "database password")
|
||||||
dbproto := flag.String("dbproto", "tcp", "protocol for database connection")
|
dbproto := flag.String("dbproto", "tcp", "protocol for database connection")
|
||||||
dbaddr := flag.String("dbaddr", "127.0.0.1", "database address")
|
dbaddr := flag.String("dbaddr", "localhost", "database address")
|
||||||
dbname := flag.String("dbname", "pokeroguedb", "database name")
|
dbname := flag.String("dbname", "pokeroguedb", "database name")
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
Loading…
Reference in New Issue