avoid conflict with "weed scaffold -config=xxx"

This commit is contained in:
Chris Lu 2021-02-22 16:57:27 -08:00
parent 72b0d9d8c4
commit 90cdf9dcac

View file

@ -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