diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-22 16:57:27 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-22 16:57:27 -0800 |
| commit | 90cdf9dcace5595b31104df3a3b7e4038a7db341 (patch) | |
| tree | 04e92a8f92b548e26080040d009f23a51d9cc521 | |
| parent | 72b0d9d8c4bc79d1571c6c770443dcade846d5cc (diff) | |
| download | seaweedfs-90cdf9dcace5595b31104df3a3b7e4038a7db341.tar.xz seaweedfs-90cdf9dcace5595b31104df3a3b7e4038a7db341.zip | |
avoid conflict with "weed scaffold -config=xxx"
| -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 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 |
