1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Turn off sparse mode for OS X by default

This commit is contained in:
Nick Terrell
2017-03-31 15:16:43 -07:00
parent 6476c51b86
commit 96fe545a18
3 changed files with 15 additions and 0 deletions

View File

@ -137,7 +137,11 @@ static int usage_advanced(const char* programName)
#endif
#ifndef ZSTD_NODECOMPRESS
DISPLAY( "--test : test compressed file integrity \n");
#if ZSTD_SPARSE_DEFAULT
DISPLAY( "--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\n");
#else
DISPLAY( "--[no-]sparse : sparse mode (default:disabled)\n");
#endif
#endif
DISPLAY( " -M# : Set a memory usage limit for decompression \n");
DISPLAY( "-- : All arguments after \"--\" are treated as files \n");