From: Yann Collet Date: Fri, 15 Sep 2017 23:23:50 +0000 (-0700) Subject: add comment on using -B# to split input file for dictionary training X-Git-Tag: fuzz-corpora2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=172205579918c485e56daddd7a457935dfcb1a05;p=thirdparty%2Fzstd.git add comment on using -B# to split input file for dictionary training --- diff --git a/programs/dibio.c b/programs/dibio.c index 66f7d1526..2cb2a4267 100644 --- a/programs/dibio.c +++ b/programs/dibio.c @@ -297,6 +297,7 @@ int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize, if (fs.nbSamples < 5) { DISPLAYLEVEL(2, "! Warning : nb of samples too low for proper processing ! \n"); DISPLAYLEVEL(2, "! Please provide _one file per sample_. \n"); + DISPLAYLEVEL(2, "! Alternatively, split files into fixed-size blocks representative of samples, with -B# \n"); EXM_THROW(14, "nb of samples too low"); /* we now clearly forbid this case */ } if (fs.totalSizeToLoad < (unsigned long long)(8 * maxDictSize)) {