Added an example in the man page and changed the help for the -m option.
[dus.git] / dus.1
diff --git a/dus.1 b/dus.1
index 51c8529..394f722 100644 (file)
--- a/dus.1
+++ b/dus.1
@@ -1,4 +1,4 @@
-.TH "DUS" 1 "Mar 2010" "Francois Fleuret" "User Commands"
+.TH "DUS" "1.1" "Mar 2010" "Francois Fleuret" "User Commands"
 
 \" This man page was written by Francois Fleuret <francois@fleuret.org>
 \" and is distributed under a Creative Commons Attribution-Share Alike
@@ -14,9 +14,12 @@ dus \- A simple command line utility for size-sorting files
 
 .SH "DESCRIPTION"
 
-\fBdus\fP is a command line utility to sort files and directories
-according to their size. It computes the said size by summing
-recursively exact file sizes through directories.
+\fBdus\fP lists files and directories according to their size. It
+computes the said sizes by summing recursively exact file sizes
+through directories. If a directory has its name appended with '/', it
+is not listed, but the elements it contains are. If no files or
+directories are provided as arguments, the current directory is used
+as default.
 
 .SH "OPTIONS"
 .TP
@@ -44,7 +47,16 @@ same as \fB-c\fR but for the number of lines
 .TP
 \fB-m \fI<size min>\fR, \fB--min-size \fI<size min>\fR
 restrict the printing of files and directories to these of size bigger
-than a lower bound
+than a lower bound. The size can be specified using the G, M, K, and B
+units
+
+.SH "EXAMPLE"
+
+.B dus -m 1M -rt ~/private/
+
+.fi
+List the largest files and directories present in ~/private/, of sizes
+greater than 1024kb, sorted in decreasing order.
 
 .SH "BUGS"