mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
compatibility with zstd-frugal (noBench mode)
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user