rename dir to davdir

This commit is contained in:
Aaron Bieber 2019-11-07 19:56:28 -07:00
parent 90b3162b66
commit 819278a3ca
Signed by: qbit
GPG Key ID: 279160AB1BE1236B

View File

@ -32,7 +32,7 @@ func init() {
log.Fatal(err)
}
flag.StringVar(&davDir, "dir", dir, "WebDAV directory to serve.")
flag.StringVar(&davDir, "davdir", dir, "WebDAV directory to serve.")
flag.StringVar(&listen, "http", ":8080", "Listen on")
flag.StringVar(&passPath, "htpass", fmt.Sprintf("%s/.htpasswd", dir), "Path to .htpasswd file..")
flag.StringVar(&prefix, "prefix", "/dav/", "Prefix to serve dav things from.")