From: Paul Cruz Date: Tue, 20 Jun 2017 17:34:34 +0000 (-0700) Subject: added description to advanced usage, changed to use-dict X-Git-Tag: v1.3.0~1^2~15^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36e14b196373097b6ad813db6b500f83f43384a9;p=thirdparty%2Fzstd.git added description to advanced usage, changed to use-dict --- diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index 8c048f478..0e6630cd1 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -1592,6 +1592,7 @@ static void advancedUsage(const char* programName) DISPLAY( "\n"); DISPLAY( "Advanced arguments :\n"); DISPLAY( " --content-size : always include the content size in the frame header\n"); + DISPLAY( " --use-dict # : include a dictionary used to decompress the corpus\n"); } int main(int argc, char** argv) @@ -1665,8 +1666,8 @@ int main(int argc, char** argv) argument++; if (strcmp(argument, "content-size") == 0) { opts.contentSize = 1; - } else if (strcmp(argument, "train-dict") == 0) { - argument += 11; + } else if (strcmp(argument, "use-dict") == 0) { + argument += 9; dictSize = readInt(&argument); useDict = 1; } else {