mirror of
https://github.com/facebook/zstd.git
synced 2024-11-25 11:07:49 +08:00
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;
|
||||
|
||||
/* Decoding */
|
||||
case 'd': if (operation==zom_bench) {
|
||||
BMK_setDecodeOnly(1); argument++; break; /* benchmark decode (hidden option) */
|
||||
} else {
|
||||
case 'd':
|
||||
#ifndef ZSTD_NOBENCH
|
||||
if (operation==zom_bench) { BMK_setDecodeOnly(1); argument++; break; } /* benchmark decode (hidden option) */
|
||||
#endif
|
||||
operation=zom_decompress; argument++; break;
|
||||
}
|
||||
|
||||
/* Force stdout, even if stdout==console */
|
||||
case 'c': forceStdout=1; outFileName=stdoutmark; argument++; break;
|
||||
|
Loading…
Reference in New Issue
Block a user