Skip to content

Commit ca80cac

Browse files
committed
Document color-coding/threshold options in README
1 parent 7ceb395 commit ca80cac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ If duf doesn't detect your terminal's colors correctly, you can set a theme:
115115

116116
duf --theme light
117117

118+
### Color-coding & Thresholds
119+
120+
duf highlights the availability & usage columns in red, green, or yellow,
121+
depending on how much space is still available. You can set your own thresholds:
122+
123+
duf --avail-threshold="10G,1G"
124+
duf --usage-threshold="0.5,0.9"
125+
118126
### Bonus
119127

120128
If you prefer your output as JSON:

0 commit comments

Comments
 (0)