aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_cd.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_fs_cd.go')
-rw-r--r--weed/shell/command_fs_cd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_fs_cd.go b/weed/shell/command_fs_cd.go
index f14350f02..408ec86c8 100644
--- a/weed/shell/command_fs_cd.go
+++ b/weed/shell/command_fs_cd.go
@@ -6,7 +6,7 @@ import (
)
func init() {
- commands = append(commands, &commandFsCd{})
+ Commands = append(Commands, &commandFsCd{})
}
type commandFsCd struct {
@@ -29,7 +29,7 @@ func (c *commandFsCd) Help() string {
`
}
-func (c *commandFsCd) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
+func (c *commandFsCd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
input := findInputDirectory(args)