From fd673823274fa906565261a2379e0220da57d25c Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 10 May 2000 05:05:45 +0000 Subject: * 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 --- du.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'du.c') diff --git a/du.c b/du.c index c4fb3a38d..9c699978e 100644 --- a/du.c +++ b/du.c @@ -36,12 +36,15 @@ typedef void (Display) (long, char *); static const char du_usage[] = - "du [OPTION]... [FILE]...\n\n" - "Summarize disk space used for each FILE and/or directory.\n" + "du [OPTION]... [FILE]...\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nSummarizes disk space used for each FILE and/or directory.\n" "Disk space is printed in units of 1024 bytes.\n\n" "Options:\n" "\t-l\tcount sizes many times if hard linked\n" - "\t-s\tdisplay only a total for each argument\n"; + "\t-s\tdisplay only a total for each argument\n" +#endif + ; static int du_depth = 0; static int count_hardlinks = 0; @@ -181,7 +184,7 @@ int du_main(int argc, char **argv) exit(0); } -/* $Id: du.c,v 1.18 2000/04/28 00:18:56 erik Exp $ */ +/* $Id: du.c,v 1.19 2000/05/10 05:05:45 erik Exp $ */ /* Local Variables: c-file-style: "linux" -- cgit v1.2.3-55-g6feb