aboutsummaryrefslogtreecommitdiff
path: root/du.c
diff options
context:
space:
mode:
Diffstat (limited to 'du.c')
-rw-r--r--du.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/du.c b/du.c
index c4fb3a38d..9c699978e 100644
--- a/du.c
+++ b/du.c
@@ -36,12 +36,15 @@
36typedef void (Display) (long, char *); 36typedef void (Display) (long, char *);
37 37
38static const char du_usage[] = 38static const char du_usage[] =
39 "du [OPTION]... [FILE]...\n\n" 39 "du [OPTION]... [FILE]...\n"
40 "Summarize disk space used for each FILE and/or directory.\n" 40#ifndef BB_FEATURE_TRIVIAL_HELP
41 "\nSummarizes disk space used for each FILE and/or directory.\n"
41 "Disk space is printed in units of 1024 bytes.\n\n" 42 "Disk space is printed in units of 1024 bytes.\n\n"
42 "Options:\n" 43 "Options:\n"
43 "\t-l\tcount sizes many times if hard linked\n" 44 "\t-l\tcount sizes many times if hard linked\n"
44 "\t-s\tdisplay only a total for each argument\n"; 45 "\t-s\tdisplay only a total for each argument\n"
46#endif
47 ;
45 48
46static int du_depth = 0; 49static int du_depth = 0;
47static int count_hardlinks = 0; 50static int count_hardlinks = 0;
@@ -181,7 +184,7 @@ int du_main(int argc, char **argv)
181 exit(0); 184 exit(0);
182} 185}
183 186
184/* $Id: du.c,v 1.18 2000/04/28 00:18:56 erik Exp $ */ 187/* $Id: du.c,v 1.19 2000/05/10 05:05:45 erik Exp $ */
185/* 188/*
186Local Variables: 189Local Variables:
187c-file-style: "linux" 190c-file-style: "linux"