This commit is contained in:
Chris Lu 2019-04-26 09:31:55 -07:00
parent 7a46aac10f
commit 575926cdec

View file

@ -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