diff --git a/programs/zstdcli.c b/programs/zstdcli.c index ad473e33..ae8c9cba 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -561,7 +561,7 @@ int main(int argCount, const char* argv[]) continue; } if (longCommandWArg(&argument, "--fast")) { - /* Parse optional window log */ + /* Parse optional acceleration factor */ if (*argument == '=') { U32 fastLevel; ++argument; diff --git a/tests/playTests.sh b/tests/playTests.sh index 9f30f29e..09a7377f 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -108,7 +108,7 @@ $ECHO "test : --fast aka negative compression levels" $ZSTD --fast -f tmp # == -1 $ZSTD --fast=3 -f tmp # == -3 $ZSTD --fast=200000 -f tmp # == no compression -! $ZSTD -c --fast=0 tmp # should fail +! $ZSTD -c --fast=0 tmp > $INTOVOID # should fail $ECHO "test : too large numeric argument" $ZSTD --fast=9999999999 -f tmp && die "should have refused numeric value" $ECHO "test : compress to stdout"