Skip to content

Commit

Permalink
Fixed --verify and --remove-padding incompatibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoboss committed Dec 3, 2023
1 parent 3a11ff0 commit 5799480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def main():
if args.verify and not args.quick_verify and not args.keep_delta:
Print.info("Warning: --verify requires --keep-delta when used during compression or it will detect removed NDV0 fragments as errors. For compatibility reasons --quick-verify will be automatically used instead to match the command line argument behavior prior to NSZ v4.3.0.")
args.quick_verify = True
if args.verify and not args.quick_verify and not args.keep_delta:
if args.verify and not args.quick_verify and args.remove_padding:
Print.info("Warning: --verify and --remove-padding are incompatible with each others. For compatibility reasons --quick-verify will be automatically used instead to match the command line argument behavior prior to NSZ v4.6.0.")
args.quick_verify = True
sourceFileToDelete = []
Expand Down

0 comments on commit 5799480

Please sign in to comment.