X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=dus.c;h=63cc183c30acadfd523cd1002953f6c7621b128b;hb=e708ca19d1b2345e001050b327ffbbbf5e09e88c;hp=d4ca19138b2250c306b088daa67a5d209ab36ebb;hpb=0da5d47ce02c48aa759ca6a43762e240bfcc72ff;p=dus.git diff --git a/dus.c b/dus.c index d4ca191..63cc183 100644 --- a/dus.c +++ b/dus.c @@ -204,7 +204,8 @@ int compare_files(const void *x1, const void *x2) { } } -void raw_print(char *buffer, size_t buffer_size, char *filename, size_sum_t size) { +void raw_print(char *buffer, size_t buffer_size, + char *filename, size_sum_t size) { char *a, *b, *c, u; b = buffer; @@ -337,7 +338,7 @@ void print_sorted(struct entry_node *root, int width, int height) { void usage(FILE *out) { fprintf(out, "Usage: dus [OPTION]... [FILE]...\n"); fprintf(out, "Version %s (%s)\n", VERSION_NUMBER, UNAME); - fprintf(out, "List files and directories sorted according to their size or content size. Take the content of the current directory as argument if none is provided.\n"); + fprintf(out, "List files and directories sorted according to their sizes. If no files or directories are provided as arguments, use the content of the current directory.\n"); fprintf(out, "\n"); /* 01234567890123456789012345678901234567890123456789012345678901234567890123456789*/ fprintf(out, " -d, --ignore-dots ignore files and directories starting with a '.'\n");