diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-15 19:42:40 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-15 19:42:40 (GMT) |
commit | 207aafd0dce2723e301a0efeb019bd03b27f50eb (patch) | |
tree | df820d36099d90e8d67c6759fe510cd2b84a639d /programs | |
parent | 2b55752a5c749e57bbd4c9b830ccf939510beec1 (diff) | |
download | lz4-207aafd0dce2723e301a0efeb019bd03b27f50eb.zip lz4-207aafd0dce2723e301a0efeb019bd03b27f50eb.tar.gz lz4-207aafd0dce2723e301a0efeb019bd03b27f50eb.tar.bz2 |
Added : unlz4 symbolic link to "lz4 -d"
Diffstat (limited to 'programs')
-rw-r--r-- | programs/lz4cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/programs/lz4cli.c b/programs/lz4cli.c index 28b7fd6..9d9e309 100644 --- a/programs/lz4cli.c +++ b/programs/lz4cli.c @@ -91,6 +91,7 @@ #define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), LZ4_VERSION, AUTHOR, __DATE__ #define LZ4_EXTENSION ".lz4" #define LZ4_CAT "lz4cat" +#define UN_LZ4 "unlz4" #define KB *(1U<<10) #define MB *(1U<<20) @@ -284,6 +285,7 @@ int main(int argc, char** argv) /* lz4cat predefined behavior */ if (!strcmp(programName, LZ4_CAT)) { decode=1; forceStdout=1; output_filename=stdoutmark; displayLevel=1; } + if (!strcmp(programName, UN_LZ4)) { decode=1; } /* command switches */ for(i=1; i<argc; i++) |