summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2020-10-19 12:32:46 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2020-10-24 01:42:16 +0200
commit413c88116dd1a2a922216fd640598812b93ae3c9 (patch)
treec7769c0d14bd565e66a4a52934d311f0d8f671f9
parent9740e98cbdba114457dc20bf43ad4c4b8994876f (diff)
downloadlvm2-413c88116dd1a2a922216fd640598812b93ae3c9.tar.gz
man: more precise UNIT
Since 'kilobytes' could be seen in 2 way - SI as '1000', while all programmers sees it as '1024' - switch to commonly acceptted KiB, MiB.... Resolves RHBZ 1496255.
-rw-r--r--tools/command.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/command.c b/tools/command.c
index 4fc55e2be..dd1f94194 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -3292,9 +3292,8 @@ static void _print_man_all_positions_desc(struct command_name *cname)
"capitalization, e.g. 'k' and 'K' both refer to 1024.\n"
"The default input unit is specified by letter, followed by |UNIT.\n"
"UNIT represents other possible input units: \\fBbBsSkKmMgGtTpPeE\\fP.\n"
- "b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes,\n"
- "m|M is megabytes, g|G is gigabytes, t|T is terabytes,\n"
- "p|P is petabytes, e|E is exabytes.\n"
+ "b|B is bytes, s|S is sectors of 512 bytes, k|K is KiB,\n"
+ "m|M is MiB, g|G is GiB, t|T is TiB, p|P is PiB, e|E is EiB.\n"
"(This should not be confused with the output control --units, where\n"
"capital letters mean multiple of 1000.)\n");