mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add help message
This commit is contained in:
parent
70434df105
commit
3b76a51f5f
|
@ -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…
Reference in a new issue