From 819278a3ca19f85c86009657d36040e3ed693518 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 7 Nov 2019 19:56:28 -0700 Subject: [PATCH] rename dir to davdir --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 68681d5..7891647 100644 --- a/main.go +++ b/main.go @@ -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.")