diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /du.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'du.c')
-rw-r--r-- | du.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -35,17 +35,6 @@ | |||
35 | 35 | ||
36 | typedef void (Display) (long, char *); | 36 | typedef void (Display) (long, char *); |
37 | 37 | ||
38 | static const char du_usage[] = | ||
39 | "du [OPTION]... [FILE]...\n" | ||
40 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
41 | "\nSummarizes disk space used for each FILE and/or directory.\n" | ||
42 | "Disk space is printed in units of 1024 bytes.\n\n" | ||
43 | "Options:\n" | ||
44 | "\t-l\tcount sizes many times if hard linked\n" | ||
45 | "\t-s\tdisplay only a total for each argument\n" | ||
46 | #endif | ||
47 | ; | ||
48 | |||
49 | static int du_depth = 0; | 38 | static int du_depth = 0; |
50 | static int count_hardlinks = 0; | 39 | static int count_hardlinks = 0; |
51 | 40 | ||
@@ -174,7 +163,7 @@ int du_main(int argc, char **argv) | |||
174 | return(0); | 163 | return(0); |
175 | } | 164 | } |
176 | 165 | ||
177 | /* $Id: du.c,v 1.22 2000/07/14 18:38:26 andersen Exp $ */ | 166 | /* $Id: du.c,v 1.23 2000/07/16 20:57:15 kraai Exp $ */ |
178 | /* | 167 | /* |
179 | Local Variables: | 168 | Local Variables: |
180 | c-file-style: "linux" | 169 | c-file-style: "linux" |