mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
zstd cli : control maximum compression level
This commit is contained in:
@ -241,6 +241,8 @@ int main(int argCount, const char** argv)
|
||||
argument++;
|
||||
}
|
||||
dictCLevel = cLevel;
|
||||
if (dictCLevel > ZSTD_maxCLevel())
|
||||
return badusage(programName);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user