From 90cdf9dcace5595b31104df3a3b7e4038a7db341 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 22 Feb 2021 16:57:27 -0800 Subject: [PATCH] avoid conflict with "weed scaffold -config=xxx" --- weed/util/fla9/fla9.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/util/fla9/fla9.go b/weed/util/fla9/fla9.go index 335b9ff7a..4a5884e9b 100644 --- a/weed/util/fla9/fla9.go +++ b/weed/util/fla9/fla9.go @@ -1078,7 +1078,7 @@ func NewFlagSetWithEnvPrefix(name string, prefix string, errorHandling ErrorHand // DefaultConfigFlagName defines the flag name of the optional config file // path. Used to lookup and parse the config file when a default is set and // available on disk. -var DefaultConfigFlagName = "config" +var DefaultConfigFlagName = "conf" // ParseFile parses flags from the file in path. // Same format as commandline arguments, newlines and lines beginning with a