diff options
Diffstat (limited to 'du.c')
-rw-r--r-- | du.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -36,12 +36,15 @@ | |||
36 | typedef void (Display) (long, char *); | 36 | typedef void (Display) (long, char *); |
37 | 37 | ||
38 | static const char du_usage[] = | 38 | static 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 | ||
46 | static int du_depth = 0; | 49 | static int du_depth = 0; |
47 | static int count_hardlinks = 0; | 50 | static 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 | /* |
186 | Local Variables: | 189 | Local Variables: |
187 | c-file-style: "linux" | 190 | c-file-style: "linux" |