diff options
author | Jim Meyering <jim@meyering.net> | 2001-12-21 11:28:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-12-21 11:28:34 +0000 |
commit | b34d965da08aef3f3295a260ec7c4a1a283a697d (patch) | |
tree | dfb1ac2e75563d51be1fdb4b280edaae71e6d5cb /src | |
parent | b9676dd73d74e4ab2b0cd67dd2af6a7f60f81e33 (diff) | |
download | coreutils-b34d965da08aef3f3295a260ec7c4a1a283a697d.tar.xz |
(usage, parse_integer): Prefer K to k for 1024.
Diffstat (limited to 'src')
-rw-r--r-- | src/dd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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') { |