aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_ls.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-21 15:43:43 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-21 15:43:43 -0700
commit00b6f653fa593a0793aa278d732e9f229eb6a5ad (patch)
tree29a7fec8d8506728121a81fd26376710d26b2f32 /weed/shell/command_fs_ls.go
parent59d532a8c3378f536a57337b99d2a67589e9b887 (diff)
downloadseaweedfs-00b6f653fa593a0793aa278d732e9f229eb6a5ad.tar.xz
seaweedfs-00b6f653fa593a0793aa278d732e9f229eb6a5ad.zip
shell: add fs.cat
Diffstat (limited to 'weed/shell/command_fs_ls.go')
-rw-r--r--weed/shell/command_fs_ls.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/shell/command_fs_ls.go b/weed/shell/command_fs_ls.go
index 93b86fa9f..5c5130c53 100644
--- a/weed/shell/command_fs_ls.go
+++ b/weed/shell/command_fs_ls.go
@@ -26,6 +26,9 @@ func (c *commandFsLs) Name() string {
func (c *commandFsLs) Help() string {
return `list all files under a directory
+ fs.ls [-l] [-a] /dir/
+ fs.ls [-l] [-a] /dir/file_name
+ fs.ls [-l] [-a] /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