From: Francois Fleuret Date: Wed, 30 Jun 2010 06:07:01 +0000 (+0200) Subject: Added an example in the man page and changed the help for the -m option. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dus.git;a=commitdiff_plain;h=dff998515d9469572147d445213cad08f12e4cb6 Added an example in the man page and changed the help for the -m option. --- diff --git a/dus.1 b/dus.1 index 7df68b9..394f722 100644 --- a/dus.1 +++ b/dus.1 @@ -47,7 +47,16 @@ same as \fB-c\fR but for the number of lines .TP \fB-m \fI\fR, \fB--min-size \fI\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" diff --git a/dus.c b/dus.c index 6557c7f..5f481d7 100644 --- a/dus.c +++ b/dus.c @@ -385,7 +385,8 @@ void usage(FILE *out) { fprintf(out, " same as -c for number of lines.\n"); fprintf(out, " -h, --help show this help.\n"); fprintf(out, " -m , --size-min \n"); - fprintf(out, " set the listed entries minimum size.\n"); + fprintf(out, " set the listed entries minimum size. The size\n"); + fprintf(out, " can be specified using the G, M, K, and B units.\n"); fprintf(out, "\n"); fprintf(out, "Report bugs and comments to .\n"); }