mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 03:47:38 +08:00
avoid conflict with "weed scaffold -config=xxx"
This commit is contained in:
@@ -1078,7 +1078,7 @@ func NewFlagSetWithEnvPrefix(name string, prefix string, errorHandling ErrorHand
|
|||||||
// DefaultConfigFlagName defines the flag name of the optional config file
|
// 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
|
// path. Used to lookup and parse the config file when a default is set and
|
||||||
// available on disk.
|
// available on disk.
|
||||||
var DefaultConfigFlagName = "config"
|
var DefaultConfigFlagName = "conf"
|
||||||
|
|
||||||
// ParseFile parses flags from the file in path.
|
// ParseFile parses flags from the file in path.
|
||||||
// Same format as commandline arguments, newlines and lines beginning with a
|
// Same format as commandline arguments, newlines and lines beginning with a
|
||||||
|
Reference in New Issue
Block a user