aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_configure.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-15 21:31:14 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-15 21:31:14 -0800
commit83527a8f55784cf28ba6fd2bef4365be8da2df25 (patch)
tree2fbf3d8acd8e75a2029f957b3f9f81b6a5a76b02 /weed/shell/command_fs_configure.go
parentfe0105967520ea9072fc19b0a94216fddb28f4f5 (diff)
downloadseaweedfs-83527a8f55784cf28ba6fd2bef4365be8da2df25.tar.xz
seaweedfs-83527a8f55784cf28ba6fd2bef4365be8da2df25.zip
adds more help message
Diffstat (limited to 'weed/shell/command_fs_configure.go')
-rw-r--r--weed/shell/command_fs_configure.go13
1 files changed, 12 insertions, 1 deletions
diff --git a/weed/shell/command_fs_configure.go b/weed/shell/command_fs_configure.go
index a616b6bd2..9f6b14439 100644
--- a/weed/shell/command_fs_configure.go
+++ b/weed/shell/command_fs_configure.go
@@ -27,7 +27,18 @@ func (c *commandFsConfigure) Name() string {
func (c *commandFsConfigure) Help() string {
return `configure and apply storage options for each location
- fs.configure -locationPrfix=/my/folder -
+ # see the possible configuration file content
+ fs.configure
+
+ # trying the changes and see the possible configuration file content
+ fs.configure -locationPrfix=/my/folder -collection=abc
+ fs.configure -locationPrfix=/my/folder -collection=abc -ttl=7d
+
+ # apply the changes
+ fs.configure -locationPrfix=/my/folder -collection=abc -apply
+
+ # delete the changes
+ fs.configure -locationPrfix=/my/folder -delete -apply
`
}