summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-09-13 22:49:45 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-09-13 22:49:45 (GMT)
commit562b34f660062f624535e8dff30da7dd0862869f (patch)
treeb6c4ca99fa3db07ea502eee106b9ea0196c03efd
parent7716c03dbfa82e1e8d0ab372ab13f5d39f1f27bb (diff)
downloadlz4-562b34f660062f624535e8dff30da7dd0862869f.zip
lz4-562b34f660062f624535e8dff30da7dd0862869f.tar.gz
lz4-562b34f660062f624535e8dff30da7dd0862869f.tar.bz2
changed : lz4 test mode (-t) to no longer ask for confirmation, as suggested by Nguyen Thary
-rw-r--r--programs/lz4cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c
index 1bbeda0..70f0760 100644
--- a/programs/lz4cli.c
+++ b/programs/lz4cli.c
@@ -377,7 +377,7 @@ int main(int argc, char** argv)
case 'c': forceStdout=1; output_filename=stdoutmark; displayLevel=1; break;
// Test
- case 't': decode=1; output_filename=nulmark; break;
+ case 't': decode=1; LZ4IO_setOverwrite(1); output_filename=nulmark; break;
// Overwrite
case 'f': LZ4IO_setOverwrite(1); break;