set default env prefix to WEED_

This commit is contained in:
bingoohuang 2021-03-01 09:35:23 +08:00
parent eb65cbf002
commit 5cdff56731

View file

@ -995,6 +995,7 @@ func NewFlagSet(name string, errorHandling ErrorHandling) *FlagSet {
f := &FlagSet{
name: name,
errorHandling: errorHandling,
envPrefix: EnvPrefix,
}
return f
}