Comment on kill.c change.
[oweals/busybox.git] / coreutils / du.c
index c4fb3a38d5d9d24d42d2254e57d16fda5622675e..b8e296ddd20f3bea2a1f761c2ebc8a38baf1ea76 100644 (file)
 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;
@@ -178,10 +181,10 @@ int du_main(int argc, char **argv)
                }
        }
 
-       exit(0);
+       return(0);
 }
 
-/* $Id: du.c,v 1.18 2000/04/28 00:18:56 erik Exp $ */
+/* $Id: du.c,v 1.20 2000/06/19 17:25:39 andersen Exp $ */
 /*
 Local Variables:
 c-file-style: "linux"