diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-27 12:08:09 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-27 12:08:09 -0800 |
| commit | d3c31c69a73759ed2719848cb16f6387e18744c0 (patch) | |
| tree | 486f461e2456b590b88bfb222b725f7f8a85b272 | |
| parent | 543c8daa6d57cf1021a544fe776fb64752c1eb45 (diff) | |
| download | seaweedfs-d3c31c69a73759ed2719848cb16f6387e18744c0.tar.xz seaweedfs-d3c31c69a73759ed2719848cb16f6387e18744c0.zip | |
avoid confusion: conf and config are too similar
| -rw-r--r-- | weed/util/fla9/fla9.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
