aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_ls.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-28 00:05:04 -0700
committerChris Lu <chris.lu@uber.com>2019-03-28 00:05:04 -0700
commit53b81fcfcd26965262947423102e0d3f60a960b6 (patch)
treea1eee0279a18f3fa206b1407e84c0424631bd31c /weed/shell/command_fs_ls.go
parentc7e7b6229f16edb8a0adbcf85d21bed9e44d8109 (diff)
downloadseaweedfs-53b81fcfcd26965262947423102e0d3f60a960b6.tar.xz
seaweedfs-53b81fcfcd26965262947423102e0d3f60a960b6.zip
weed shell: add fs.tree
Diffstat (limited to 'weed/shell/command_fs_ls.go')
-rw-r--r--weed/shell/command_fs_ls.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.go
index 6ad96f5ac..39f356916 100644
--- a/weed/shell/command_fs_ls.go
+++ b/weed/shell/command_fs_ls.go
@@ -24,11 +24,11 @@ func (c *commandFsLs) Name() string {
}
func (c *commandFsLs) Help() string {
- return `[-l] [-a] list all files under a directory
+ return `list all files under a directory
- fs.ls http://<filer_server>:<port>/dir/
- fs.ls http://<filer_server>:<port>/dir/file_name
- fs.ls http://<filer_server>:<port>/dir/file_prefix
+ fs.ls [-l] [-a] http://<filer_server>:<port>/dir/
+ fs.ls [-l] [-a] http://<filer_server>:<port>/dir/file_name
+ fs.ls [-l] [-a] http://<filer_server>:<port>/dir/file_prefix
`
}