diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-12-09 04:37:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-12-09 04:37:44 +0000 |
commit | 4816449fbba7a5716f22aa5c1e9fa6bc62059fae (patch) | |
tree | d4d76c634fa506b06bb16314c2339bd066e679ad /zcmp.cc | |
parent | Adding upstream version 1.13. (diff) | |
download | zutils-4816449fbba7a5716f22aa5c1e9fa6bc62059fae.tar.xz zutils-4816449fbba7a5716f22aa5c1e9fa6bc62059fae.zip |
Adding upstream version 1.14~rc1.upstream/1.14_rc1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'zcmp.cc')
-rw-r--r-- | zcmp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -105,7 +105,7 @@ const char * format_num3( long long num ) char * p = buf + bufsize - 1; // fill the buffer backwards *p = 0; // terminator const bool negative = num < 0; - if( num > 1024 || num < -1024 ) + if( num > 9999 || num < -9999 ) { char prefix = 0; // try binary first, then si for( int i = 0; i < n && num != 0 && num % 1024 == 0; ++i ) @@ -405,7 +405,7 @@ int main( const int argc, const char * const argv[] ) { lz_opt, "lz", Arg_parser::yes }, { xz_opt, "xz", Arg_parser::yes }, { zst_opt, "zst", Arg_parser::yes }, - { 0, 0, Arg_parser::no } }; + { 0, 0, Arg_parser::no } }; const Arg_parser parser( argc, argv, options ); if( parser.error().size() ) // bad option @@ -430,7 +430,7 @@ int main( const int argc, const char * const argv[] ) case 'l': list = true; break; case 'M': parse_format_list( sarg, pn ); break; case 'n': max_size = getnum( arg, pn ); break; - case 'N': break; + case 'N': break; // already processed case 'O': parse_format_types2( sarg, pn, format_types ); break; case 'q': verbosity = -1; break; case 's': scripted = true; break; |