refactor: cleanup -j / --output-json flag

Stop -j writing to a file, print to stdout instead.
This commit is contained in:
andy.boot
2024-05-02 23:27:48 +01:00
parent cab250aa0e
commit 4f6255971b
4 changed files with 17 additions and 34 deletions
+1
View File
@@ -91,6 +91,7 @@ Usage: dust -R (For screen readers. Removes bars/symbols. Adds new column: depth
Usage: dust -S (Custom Stack size - Use if you see: 'fatal runtime error: stack overflow' (default allocation: low memory=1048576, high memory=1073741824)"),
Usage: dust --skip-total (No total row will be displayed)
Usage: dust -z 40000/30MB/20kib (Exclude output files/directories below size 40000 bytes / 30MB / 20KiB)
Usage: dust -j (Prints JSON representation of directories, try: dust -j | jq)
```
## Config file