projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97842f0
)
ls: another reword of generic size note
author
Ruediger Meier
<sweet_f_a@gmx.de>
Tue, 15 Nov 2011 18:55:23 +0000
(11:55 -0700)
committer
Eric Blake
<eblake@redhat.com>
Tue, 15 Nov 2011 18:55:23 +0000
(11:55 -0700)
* src/system.h (emit_size_note): Use "unit" rather than "suffix",
and move multiplication to example instead of in suffix list.
See additional discussion in Bug#9939.
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index
1cbde92
..
ae8dcc2
100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-516,8
+516,8
@@
static inline void
emit_size_note (void)
{
fputs (_("\n\
-SIZE is an integer
with an optional suffix (example: 10MB). Suffixes are:
\n\
-
KB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y
.\n\
+SIZE is an integer
and optional unit (example: 10M is 10*1024*1024). Units
\n\
+
are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (powers of 1000)
.\n\
"), stdout);
}