From 6461695fb1d6697d02db8139810f026a0228374e Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Thu, 8 Aug 2019 16:57:14 +1000 Subject: [PATCH] Add ractool comment that "1M" means 1 mebibyte --- cmd/ractool/data.go | 3 ++- cmd/ractool/main.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/ractool/data.go b/cmd/ractool/data.go index f87981b7..6dcf40b5 100644 --- a/cmd/ractool/data.go +++ b/cmd/ractool/data.go @@ -54,7 +54,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). +The "256k" flag value means 256 kibibytes (262144 bytes). 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 20743baf..c20a92d1 100644 --- a/cmd/ractool/main.go +++ b/cmd/ractool/main.go @@ -60,7 +60,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). +The "256k" flag value means 256 kibibytes (262144 bytes). Similarly, "1m" and +"1M" both mean 1 mebibyte (1048576 bytes). General Flags: