Hello,
as requested via https://bugzilla.redhat.com/show_bug.cgi?id=511188 , it
would be nice to clarify default blocksize used by du in manpage/--help
output. Although I closed that bugzilla as notabug, further
communication via private emails convinced me to propose that change to
upstream.
As it breaks translation strings, I guess it would be better to postpone
commit after 7.6 (if accepted).

Greetings,
         Ondřej Vašík

From f5f6875b2d8828218105b3601c80ebfdc7eeefb4 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= <ova...@redhat.com>
Date: Wed, 9 Sep 2009 10:00:32 +0200
Subject: [PATCH] doc: du - clarify default blocksize in usage

* src/du.c (usage): clarify default blocksize - requested by
  https://bugzilla.redhat.com/show_bug.cgi?id=511188
---
 src/du.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/du.c b/src/du.c
index 9da901a..30b7dd4 100644
--- a/src/du.c
+++ b/src/du.c
@@ -284,7 +284,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
                           fragmentation, indirect blocks, and the like\n\
 "), stdout);
       fputs (_("\
-  -B, --block-size=SIZE  use SIZE-byte blocks\n\
+  -B, --block-size=SIZE  use SIZE-byte blocks,\n\
+                         default blocksize is 1024 bytes\n\
   -b, --bytes           equivalent to `--apparent-size --block-size=1'\n\
   -c, --total           produce a grand total\n\
   -D, --dereference-args  dereference only symlinks that are listed on the\n\
-- 
1.5.6.1.156.ge903b

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

Reply via email to