summaryrefslogtreecommitdiff
path: root/du.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /du.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'du.c')
-rw-r--r--du.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/du.c b/du.c
index f1a4442..147914c 100644
--- a/du.c
+++ b/du.c
@@ -35,17 +35,6 @@
typedef void (Display) (long, char *);
-static const char du_usage[] =
- "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"
-#endif
- ;
-
static int du_depth = 0;
static int count_hardlinks = 0;
@@ -174,7 +163,7 @@ int du_main(int argc, char **argv)
return(0);
}
-/* $Id: du.c,v 1.22 2000/07/14 18:38:26 andersen Exp $ */
+/* $Id: du.c,v 1.23 2000/07/16 20:57:15 kraai Exp $ */
/*
Local Variables:
c-file-style: "linux"