From: Yann Collet Date: Fri, 3 Jun 2016 13:15:47 +0000 (+0200) Subject: dictionary size objective can be described in Megabytes X-Git-Tag: v0.7.0^2~49^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=441f5d61fd6599b11a0c5e384fc7dbbb911e0db4;p=thirdparty%2Fzstd.git dictionary size objective can be described in Megabytes --- diff --git a/programs/zstdcli.c b/programs/zstdcli.c index c0f3d4ba0..657300998 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -396,6 +396,7 @@ int main(int argCount, const char** argv) nextArgumentIsMaxDict = 0; maxDictSize = readU32FromChar(&argument); if (toupper(*argument)=='K') maxDictSize <<= 10; + if (toupper(*argument)=='M') maxDictSize <<= 20; continue; }