compatibility with zstd-frugal (noBench mode)
This commit is contained in:
parent
e63c631aaf
commit
2a826e592b
@ -334,11 +334,11 @@ int main(int argCount, const char* argv[])
|
|||||||
case 'z': operation=zom_compress; argument++; break;
|
case 'z': operation=zom_compress; argument++; break;
|
||||||
|
|
||||||
/* Decoding */
|
/* Decoding */
|
||||||
case 'd': if (operation==zom_bench) {
|
case 'd':
|
||||||
BMK_setDecodeOnly(1); argument++; break; /* benchmark decode (hidden option) */
|
#ifndef ZSTD_NOBENCH
|
||||||
} else {
|
if (operation==zom_bench) { BMK_setDecodeOnly(1); argument++; break; } /* benchmark decode (hidden option) */
|
||||||
|
#endif
|
||||||
operation=zom_decompress; argument++; break;
|
operation=zom_decompress; argument++; break;
|
||||||
}
|
|
||||||
|
|
||||||
/* Force stdout, even if stdout==console */
|
/* Force stdout, even if stdout==console */
|
||||||
case 'c': forceStdout=1; outFileName=stdoutmark; argument++; break;
|
case 'c': forceStdout=1; outFileName=stdoutmark; argument++; break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user