fix pwd printout
This commit is contained in:
@@ -22,11 +22,7 @@ func (c *commandFsPwd) Help() string {
|
|||||||
|
|
||||||
func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
|
func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
|
||||||
|
|
||||||
fmt.Fprintf(writer, "http://%s:%d%s\n",
|
fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory)
|
||||||
commandEnv.option.FilerHost,
|
|
||||||
commandEnv.option.FilerPort,
|
|
||||||
commandEnv.option.Directory,
|
|
||||||
)
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user