mirror of
https://github.com/facebook/zstd.git
synced 2025-12-24 17:21:03 +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