mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust help message
This commit is contained in:
parent
c0842fe99f
commit
40ff30b83f
|
@ -35,7 +35,7 @@ func init() {
|
|||
cmdFilerMetaBackup.Run = runFilerMetaBackup // break init cycle
|
||||
metaBackup.filerAddress = cmdFilerMetaBackup.Flag.String("filer", "localhost:8888", "filer hostname:port")
|
||||
metaBackup.filerDirectory = cmdFilerMetaBackup.Flag.String("filerDir", "/", "a folder on the filer")
|
||||
metaBackup.restart = cmdFilerMetaBackup.Flag.Bool("restart", false, "copy the full metadata snapshot before async continuous backup")
|
||||
metaBackup.restart = cmdFilerMetaBackup.Flag.Bool("restart", false, "copy the full metadata before async incremental backup")
|
||||
metaBackup.backupFilerConfig = cmdFilerMetaBackup.Flag.String("config", "", "path to filer.toml specifying backup filer store")
|
||||
}
|
||||
|
||||
|
|
|
@ -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, "", "file with command line options with each line in optionName=optionValue format")
|
||||
f.String(DefaultConfigFlagName, "", "a file of command line options, each line in optionName=optionValue format")
|
||||
}
|
||||
|
||||
f.parsed = true
|
||||
|
|
Loading…
Reference in a new issue