Fix the usage message
This commit is contained in:
parent
c7597b73c2
commit
0fcc67c121
2
main.go
2
main.go
|
@ -14,7 +14,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) != 3 {
|
if len(os.Args) != 3 {
|
||||||
log.Fatalln("usage: %s LISTEN-ADDRESS DATABASE-FILE", os.Args[0])
|
log.Fatalf("Usage: %s LISTEN-ADDRESS DATABASE-FILE\n", os.Args[0])
|
||||||
}
|
}
|
||||||
|
|
||||||
listenAddr, dbFilename := os.Args[1], os.Args[2]
|
listenAddr, dbFilename := os.Args[1], os.Args[2]
|
||||||
|
|
Loading…
Reference in New Issue