diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:59:16 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 14:59:16 +0000 |
commit | f55abdbcd36dd61c5896cbb799d0cc28095e87a7 (patch) | |
tree | eb53586003c8f716664af95cfadd231ae47842c7 /main.c | |
parent | Adding upstream version 1.6~rc1. (diff) | |
download | pdlzip-f55abdbcd36dd61c5896cbb799d0cc28095e87a7.tar.xz pdlzip-f55abdbcd36dd61c5896cbb799d0cc28095e87a7.zip |
Adding upstream version 1.6.upstream/1.6
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -98,6 +98,8 @@ static void show_help( void ) { printf( "%s - A \"public domain\" version of the lzip data compressor\n", Program_name ); printf( "also able to decompress legacy lzma-alone (.lzma) files.\n" + "Lzma-alone is a very bad format. If you keep any lzma-alone files, it is\n" + "advisable to recompress them to lzip format.\n" "\nUsage: %s [options] [files]\n", invocation_name ); printf( "\nOptions:\n" " -h, --help display this help and exit\n" @@ -105,7 +107,7 @@ static void show_help( void ) " -c, --stdout send output to standard output\n" " -d, --decompress decompress\n" " -f, --force overwrite existing output files\n" - " -F, --recompress force recompression of compressed files\n" + " -F, --recompress force re-compression of compressed files\n" " -k, --keep keep (don't delete) input files\n" " -m, --match-length=<bytes> set match length limit in bytes [36]\n" " -o, --output=<file> if reading stdin, place the output into <file>\n" @@ -221,7 +223,7 @@ static unsigned long getnum( const char * const ptr, static int get_dict_size( const char * const arg ) { char * tail; - int bits = strtol( arg, &tail, 0 ); + const int bits = strtol( arg, &tail, 0 ); if( bits >= min_dictionary_bits && bits <= max_dictionary_bits && *tail == 0 ) return ( 1 << bits ); |