From d3c31c69a73759ed2719848cb16f6387e18744c0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 27 Feb 2021 12:08:09 -0800 Subject: [PATCH] avoid confusion: conf and config are too similar --- 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 4a5884e9b..7f0f50a14 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 = "conf" +var DefaultConfigFlagName = "flags" // ParseFile parses flags from the file in path. // Same format as commandline arguments, newlines and lines beginning with a