Browse Source

minor

pull/948/head
Chris Lu 6 years ago
parent
commit
575926cdec
  1. 5
      weed/shell/command_fs_meta_load.go

5
weed/shell/command_fs_meta_load.go

@ -33,6 +33,11 @@ func (c *commandFsMetaLoad) Help() string {
func (c *commandFsMetaLoad) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) { func (c *commandFsMetaLoad) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
if len(args) == 0 {
fmt.Fprintf(writer, "missing a metadata file\n")
return nil
}
filerServer, filerPort, path, err := commandEnv.parseUrl(findInputDirectory(nil)) filerServer, filerPort, path, err := commandEnv.parseUrl(findInputDirectory(nil))
if err != nil { if err != nil {
return err return err

Loading…
Cancel
Save