aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_cd.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-23 20:46:17 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-23 20:46:17 -0700
commitd151185b7e5c7912afc38a36c163ef87eedcde3d (patch)
treed1ae92feac61c70596d9266b97b5aea792d3112f /weed/shell/command_fs_cd.go
parent40601953bfb6cfc0d27aee6d5ce07c69eccc48ca (diff)
downloadseaweedfs-d151185b7e5c7912afc38a36c163ef87eedcde3d.tar.xz
seaweedfs-d151185b7e5c7912afc38a36c163ef87eedcde3d.zip
shell: desupport filer url in the arguments
Diffstat (limited to 'weed/shell/command_fs_cd.go')
-rw-r--r--weed/shell/command_fs_cd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/shell/command_fs_cd.go b/weed/shell/command_fs_cd.go
index df42cd516..377fd40f7 100644
--- a/weed/shell/command_fs_cd.go
+++ b/weed/shell/command_fs_cd.go
@@ -16,14 +16,14 @@ func (c *commandFsCd) Name() string {
}
func (c *commandFsCd) Help() string {
- return `change directory to http://<filer_server>:<port>/dir/
+ return `change directory to a directory /path/to/dir
The full path can be too long to type. For example,
- fs.ls http://<filer_server>:<port>/some/path/to/file_name
+ fs.ls /some/path/to/file_name
can be simplified as
- fs.cd http://<filer_server>:<port>/some/path
+ fs.cd /some/path
fs.ls to/file_name
`
}