mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 23:17:23 +08:00
add help message
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user