diff options
Diffstat (limited to 'weed/shell/command_fs_pwd.go')
| -rw-r--r-- | weed/shell/command_fs_pwd.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/shell/command_fs_pwd.go b/weed/shell/command_fs_pwd.go index e74fb6c3d..65ce3fe7d 100644 --- a/weed/shell/command_fs_pwd.go +++ b/weed/shell/command_fs_pwd.go @@ -26,6 +26,10 @@ func (c *commandFsPwd) HasTag(CommandTag) bool { func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) { + if handleHelpRequest(c, args, writer) { + return nil + } + fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory) return nil |
