summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2012-06-21 13:23:35 +0200
committerPádraig Brady <P@draigBrady.com>2012-06-22 12:16:04 +0100
commit4f2e9d503821c3eadc7344a7e85400779822bf0d (patch)
treebba5e8377e7276f58edba7a1c54b270843e12562
parentae5846448f73d90ba9bd01cc9edc94bc0b168e46 (diff)
downloadcoreutils-4f2e9d503821c3eadc7344a7e85400779822bf0d.tar.xz
doc: document multiplier for dd number options like count=N
* src/dd.c (usage): Add "N" to the description of multipliers. * doc/coreutils.texi (dd invocation): Likewise.
-rw-r--r--doc/coreutils.texi4
-rw-r--r--src/dd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index f7251b29a..08ef2d8c8 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -8399,8 +8399,8 @@ affected file descriptors, even after @command{dd} exits.
@end table
@cindex multipliers after numbers
-The numeric-valued strings above (@var{bytes} and @var{blocks}) can be
-followed by a multiplier: @samp{b}=512, @samp{c}=1,
+The numeric-valued strings above (@var{n}, @var{bytes} and @var{blocks})
+can be followed by a multiplier: @samp{b}=512, @samp{c}=1,
@samp{w}=2, @samp{x@var{m}}=@var{m}, or any of the
standard block size suffixes like @samp{k}=1024 (@pxref{Block size}).
diff --git a/src/dd.c b/src/dd.c
index d93733683..2ebbfae86 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -540,7 +540,7 @@ Copy a file, converting and formatting according to the operands.\n\
"), stdout);
fputs (_("\
\n\
-BLOCKS and BYTES may be followed by the following multiplicative suffixes:\n\
+N, BLOCKS and BYTES may be followed by the following multiplicative suffixes:\n\
c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M\n\
GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.\n\
\n\