summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-21 11:28:34 +0000
committerJim Meyering <jim@meyering.net>2001-12-21 11:28:34 +0000
commitb34d965da08aef3f3295a260ec7c4a1a283a697d (patch)
treedfb1ac2e75563d51be1fdb4b280edaae71e6d5cb /src
parentb9676dd73d74e4ab2b0cd67dd2af6a7f60f81e33 (diff)
downloadcoreutils-b34d965da08aef3f3295a260ec7c4a1a283a697d.tar.xz
(usage, parse_integer): Prefer K to k for 1024.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dd.c b/src/dd.c
index ca01b8237..7c0ea941e 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -310,8 +310,8 @@ Copy a file, converting and formatting according to the options.\n\
fputs (_("\
\n\
BLOCKS and BYTES may be followed by the following multiplicative suffixes:\n\
-xM M, c 1, w 2, b 512, kD 1000, k 1024, MD 1,000,000, M 1,048,576,\n\
-GD 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y.\n\
+xM M, c 1, w 2, b 512, kB 1000, K 1024, MB 1,000,000, M 1,048,576,\n\
+GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y.\n\
Each KEYWORD may be:\n\
\n\
"), stdout);
@@ -518,7 +518,7 @@ parse_integer (const char *str, int *invalid)
{
uintmax_t n;
char *suffix;
- enum strtol_error e = xstrtoumax (str, &suffix, 10, &n, "bcEGkMPTwYZ0");
+ enum strtol_error e = xstrtoumax (str, &suffix, 10, &n, "bcEGkKMPTwYZ0");
if (e == LONGINT_INVALID_SUFFIX_CHAR && *suffix == 'x')
{