diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-10 05:05:45 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-10 05:05:45 +0000 |
commit | fd673823274fa906565261a2379e0220da57d25c (patch) | |
tree | 8db9c40b68387c1017007f5265e45c2a66ccfb0d /du.c | |
parent | e144dae9090513ce4d585206c5537ee105279792 (diff) | |
download | busybox-w32-fd673823274fa906565261a2379e0220da57d25c.tar.gz busybox-w32-fd673823274fa906565261a2379e0220da57d25c.tar.bz2 busybox-w32-fd673823274fa906565261a2379e0220da57d25c.zip |
* cp -fa now works as expected for symlinks (it didn't before)
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
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" |