Remove CLevel cli option which was accidentally added back in the last commit
This commit is contained in:
@@ -336,7 +336,6 @@ int main(int argCount, const char* argv[])
|
|||||||
const char* programName = argv[0];
|
const char* programName = argv[0];
|
||||||
int operationResult = 0;
|
int operationResult = 0;
|
||||||
|
|
||||||
unsigned cLevel = DEFAULT_CLEVEL;
|
|
||||||
char* inputFile = DEFAULT_INPUTFILE;
|
char* inputFile = DEFAULT_INPUTFILE;
|
||||||
unsigned k = DEFAULT_k;
|
unsigned k = DEFAULT_k;
|
||||||
char* outputFile = DEFAULT_OUTPUTFILE;
|
char* outputFile = DEFAULT_OUTPUTFILE;
|
||||||
@@ -349,7 +348,6 @@ int main(int argCount, const char* argv[])
|
|||||||
for (int i = 1; i < argCount; i++) {
|
for (int i = 1; i < argCount; i++) {
|
||||||
const char* argument = argv[i];
|
const char* argument = argv[i];
|
||||||
if (longCommandWArg(&argument, "k=")) { k = readU32FromChar(&argument); continue; }
|
if (longCommandWArg(&argument, "k=")) { k = readU32FromChar(&argument); continue; }
|
||||||
if (longCommandWArg(&argument, "c=")) { cLevel = readU32FromChar(&argument); continue; }
|
|
||||||
if (longCommandWArg(&argument, "dictID=")) { dictID = readU32FromChar(&argument); continue; }
|
if (longCommandWArg(&argument, "dictID=")) { dictID = readU32FromChar(&argument); continue; }
|
||||||
if (longCommandWArg(&argument, "maxdict=")) { maxDictSize = readU32FromChar(&argument); continue; }
|
if (longCommandWArg(&argument, "maxdict=")) { maxDictSize = readU32FromChar(&argument); continue; }
|
||||||
if (longCommandWArg(&argument, "in=")) {
|
if (longCommandWArg(&argument, "in=")) {
|
||||||
@@ -387,7 +385,7 @@ int main(int argCount, const char* argv[])
|
|||||||
|
|
||||||
ZDICT_random_params_t params;
|
ZDICT_random_params_t params;
|
||||||
ZDICT_params_t zParams;
|
ZDICT_params_t zParams;
|
||||||
zParams.compressionLevel = cLevel;
|
zParams.compressionLevel = DEFAULT_CLEVEL;
|
||||||
zParams.notificationLevel = displayLevel;
|
zParams.notificationLevel = displayLevel;
|
||||||
zParams.dictID = dictID;
|
zParams.dictID = dictID;
|
||||||
params.zParams = zParams;
|
params.zParams = zParams;
|
||||||
|
|||||||
Reference in New Issue
Block a user