Support vitastor-cli ls --tree syntax

This commit is contained in:
Vitaliy Filippov
2025-09-24 13:09:43 +03:00
parent cff08d2c72
commit 3c5b9d2744
4 changed files with 37 additions and 2 deletions
+2
View File
@@ -100,12 +100,14 @@ List images (only matching `<glob>` pattern(s) if passed).
Options:
```
--exact Do not match glob patterns as names, select only exact name matches.
-p|--pool POOL Filter images by pool ID or name
-l|--long Also report allocated size and I/O statistics
--del Also include delete operation statistics
--sort FIELD Sort by specified field (name, size, used_size, <read|write|delete>_<iops|bps|lat|queue>)
-r|--reverse Sort in descending order
-n|--count N Only list first N items
--tree Show image snapshot/clone tree
```
Example output: