lsjson: add --metadata/-M flag

Note that this removes the `-M` flag from `--encrypted` as it
conflicted with the global flag and adds it to `--metadata`.
This commit is contained in:
Nick Craig-Wood
2022-05-24 11:16:29 +01:00
parent 78d52882ca
commit d823a38ce5
4 changed files with 29 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ func init() {
- noMimeType - If set don't show mime types
- dirsOnly - If set only show directories
- filesOnly - If set only show files
- metadata - If set return metadata of objects also
- hashTypes - array of strings of hash types to show if showHash set
Returns: