Browse Source

add help message

pull/1862/head
Chris Lu 4 years ago
parent
commit
3b76a51f5f
  1. 2
      weed/util/fla9/fla9.go

2
weed/util/fla9/fla9.go

@ -886,7 +886,7 @@ func (f *FlagSet) parseOne() (bool, error) {
// The return value will be ErrHelp if -help or -h were set but not defined.
func (f *FlagSet) Parse(arguments []string) error {
if _, ok := f.formal[DefaultConfigFlagName]; !ok {
f.String(DefaultConfigFlagName, "", "config file")
f.String(DefaultConfigFlagName, "", "file with command line options with each line in optionName=optionValue format")
}
f.parsed = true

Loading…
Cancel
Save