Documentation says about "-static" flag, not "-staticpath"

This commit is contained in:
Marek Majkowski
2013-11-25 07:12:19 -08:00
parent 3be7cc32b6
commit 94d2bcc18f

View File

@@ -152,7 +152,7 @@ func main() {
os.Exit(2)
}
var staticPath = flag.String("staticpath", "/tmp/index.html", "Path to the the static entry")
var staticPath = flag.String("static", "/tmp/index.html", "Path to the the static entry")
var vaultPath = flag.String("vaultpath", "/tmp/tmpvault", "Path to the the disk vault")
var addr = flag.String("addr", "localhost:8000", "Server and port separated by :")
var certPath = flag.String("cert", "", "Path of TLS certificate in PEM format")