fix pwd printout

This commit is contained in:
Chris Lu 2020-03-24 02:40:29 -07:00
parent 00d3f01876
commit a875f67a08

View file

@ -22,11 +22,7 @@ func (c *commandFsPwd) Help() string {
func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
fmt.Fprintf(writer, "http://%s:%d%s\n",
commandEnv.option.FilerHost,
commandEnv.option.FilerPort,
commandEnv.option.Directory,
)
fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory)
return nil
}