server: comment for listen argument

This commit is contained in:
mappu 2017-10-08 15:06:54 +13:00
parent 7f18a3bac0
commit 97b00b7143

View File

@ -12,7 +12,7 @@ import (
func main() { func main() {
cwd, _ := os.Getwd() cwd, _ := os.Getwd()
listenAddr := flag.String("listen", "127.0.0.1:80", "") listenAddr := flag.String("listen", "127.0.0.1:80", "IP/Port to bind server")
dataDir := flag.String("data", cwd, "Directory for stored content") dataDir := flag.String("data", cwd, "Directory for stored content")
dbPath := flag.String("db", "contented.db", "Path for metadata database") dbPath := flag.String("db", "contented.db", "Path for metadata database")
appTitle := flag.String("title", "contented", "Title used in web interface") appTitle := flag.String("title", "contented", "Title used in web interface")