diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-06-15 14:06:29 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-06-15 14:06:29 +0300 |
commit | c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00 (patch) | |
tree | 5c0491fe313afc8adda4332ef44477f1e73992f8 /src/xz/args.c | |
parent | Updated THANKS. (diff) | |
download | xz-c15c42abb3c8c6e77c778ef06c97a4a10b8b5d00.tar.xz |
Add --no-adjust.
Diffstat (limited to 'src/xz/args.c')
-rw-r--r-- | src/xz/args.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xz/args.c b/src/xz/args.c index 7b12529c..be26bf3d 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -45,6 +45,7 @@ parse_real(args_info *args, int argc, char **argv) OPT_NO_SPARSE, OPT_FILES, OPT_FILES0, + OPT_NO_ADJUST, OPT_INFO_MEMORY, OPT_ROBOT, }; @@ -74,6 +75,7 @@ parse_real(args_info *args, int argc, char **argv) // Basic compression settings { "format", required_argument, NULL, 'F' }, { "check", required_argument, NULL, 'C' }, + { "no-adjust", no_argument, NULL, OPT_NO_ADJUST }, { "memory", required_argument, NULL, 'M' }, { "threads", required_argument, NULL, 'T' }, @@ -367,6 +369,10 @@ parse_real(args_info *args, int argc, char **argv) break; + case OPT_NO_ADJUST: + opt_auto_adjust = false; + break; + default: message_try_help(); tuklib_exit(E_ERROR, E_ERROR, false); |