aboutsummaryrefslogtreecommitdiffstats
path: root/src/du.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/du.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/du.c b/src/du.c
index 9da901a62..9831a1788 100644
--- a/src/du.c
+++ b/src/du.c
@@ -330,11 +330,9 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- fputs (_("\n\
-SIZE may be (or may be an integer optionally followed by) one of following:\n\
-kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\
-"), stdout);
- emit_bug_reporting_address ();
+ emit_blocksize_note ("DU");
+ emit_size_note ();
+ emit_ancillary_info ();
}
exit (status);
}
@@ -845,7 +843,7 @@ main (int argc, char **argv)
if (!ok)
usage (EXIT_FAILURE);
- if (opt_all & opt_summarize_only)
+ if (opt_all && opt_summarize_only)
{
error (0, 0, _("cannot both summarize and show all entries"));
usage (EXIT_FAILURE);