mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +02:00
add help message
This commit is contained in:
1 parent
70434df105
commit
3b76a51f5f
1 file changed
+1
-1
@@ -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