mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
Make fast=0 fail
This commit is contained in:
@ -568,6 +568,8 @@ int main(int argCount, const char* argv[])
|
||||
fastLevel = readU32FromChar(&argument);
|
||||
if (fastLevel) {
|
||||
dictCLevel = cLevel = -(int)fastLevel;
|
||||
} else {
|
||||
CLEAN_RETURN(badusage(programName));
|
||||
}
|
||||
} else if (*argument != 0) {
|
||||
/* Invalid character following --fast */
|
||||
|
Reference in New Issue
Block a user