mirror of
https://github.com/taigrr/shorturl
synced 2025-01-18 04:03:16 -08:00
Fixed typo in -dbpath option
This commit is contained in:
parent
8ff215fdb6
commit
489d647a6f
2
main.go
2
main.go
@ -20,7 +20,7 @@ func main() {
|
||||
)
|
||||
|
||||
flag.StringVar(&config, "config", "", "config file")
|
||||
flag.StringVar(&dbpath, "dbpth", "urls.db", "Database path")
|
||||
flag.StringVar(&dbpath, "dbpath", "urls.db", "Database path")
|
||||
flag.StringVar(&bind, "bind", "0.0.0.0:8000", "[int]:<port> to bind to")
|
||||
flag.Parse()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user