diff options
| author | Chris Lu <chris.lu@uber.com> | 2019-03-19 21:58:00 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2019-03-19 21:58:00 -0700 |
| commit | f3d316a846473fe8f33a90172291608d764a264d (patch) | |
| tree | 9503887b65a6c0681a8dc50e5c35fd0c83250c97 /weed/shell/commands.go | |
| parent | cea5c53bf7943f7735d74c1e9f568ba633474e5d (diff) | |
| download | seaweedfs-f3d316a846473fe8f33a90172291608d764a264d.tar.xz seaweedfs-f3d316a846473fe8f33a90172291608d764a264d.zip | |
weed shell: adding file system disk usage fs.du
fix https://github.com/chrislusf/seaweedfs/issues/889
echo "fs.du http://localhost:8888/some/path" | weed shell
Diffstat (limited to 'weed/shell/commands.go')
| -rw-r--r-- | weed/shell/commands.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go index 4df70ff55..280900c80 100644 --- a/weed/shell/commands.go +++ b/weed/shell/commands.go @@ -14,6 +14,7 @@ type ShellOptions struct { type commandEnv struct { env map[string]string masterClient *wdclient.MasterClient + option ShellOptions } type command interface { |
