From a51577270bdf469f636c769ebe58ea6a9794b063 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sat, 24 Aug 2019 16:39:02 +1000 Subject: [PATCH] Add ractool documentation about parsing "256K" --- cmd/ractool/data.go | 4 ++-- cmd/ractool/main.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/ractool/data.go b/cmd/ractool/data.go index 9954b8f2..45372681 100644 --- a/cmd/ractool/data.go +++ b/cmd/ractool/data.go @@ -73,8 +73,8 @@ The "400:500" flag value means the 100 bytes ranging from a DSpace offset to Go slice syntax. A "400:" flag value would mean ranging from 400 (inclusive) to the end of the decompressed file. -The "256k" flag value means 256 kibibytes (262144 bytes). Similarly, "1m" and -"1M" both mean 1 mebibyte (1048576 bytes). +The "256k" flag value means 256 kibibytes (262144 bytes), as does "256K". +Similarly, "1m" and "1M" both mean 1 mebibyte (1048576 bytes). General Flags: diff --git a/cmd/ractool/main.go b/cmd/ractool/main.go index 593ae2e2..552cd17c 100644 --- a/cmd/ractool/main.go +++ b/cmd/ractool/main.go @@ -74,8 +74,8 @@ The "400:500" flag value means the 100 bytes ranging from a DSpace offset to Go slice syntax. A "400:" flag value would mean ranging from 400 (inclusive) to the end of the decompressed file. -The "256k" flag value means 256 kibibytes (262144 bytes). Similarly, "1m" and -"1M" both mean 1 mebibyte (1048576 bytes). +The "256k" flag value means 256 kibibytes (262144 bytes), as does "256K". +Similarly, "1m" and "1M" both mean 1 mebibyte (1048576 bytes). General Flags: