X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dus.git;a=blobdiff_plain;f=dus.c;h=336f20137d0988f2584cfd418a3dc8dc614f9d11;hp=4acc5173a3a4dabc972ee520250eb38977e26b8e;hb=2106033257340732a6703f6405dc97a08311e6f7;hpb=3095e1570e1f1d4edf264b07480c256a2691b43c diff --git a/dus.c b/dus.c index 4acc517..336f201 100644 --- a/dus.c +++ b/dus.c @@ -371,6 +371,8 @@ void usage(FILE *out) { fprintf(out, "Lists files and directories according to their size. The sizes are computed by summing recursively exact file sizes through directories. If a given 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.\n"); fprintf(out, "\n"); /* 01234567890123456789012345678901234567890123456789012345678901234567890123456789*/ + fprintf(out, " -h, --help show this help.\n"); + fprintf(out, " -v, --version prints the version number and exit\n"); fprintf(out, " -d, --ignore-dots ignore files and directories starting with a '.'\n"); fprintf(out, " -f, --fancy display size with float values and K, M and G\n"); fprintf(out, " units.\n"); @@ -383,7 +385,6 @@ void usage(FILE *out) { fprintf(out, " if the stdout is not a tty.\n"); fprintf(out, " -l , --nb-lines \n"); 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. The size\n"); fprintf(out, " can be specified using the G, M, K, and B units.\n");