[diffoscope] 01/01: Rename no-max-limits to no-default-limits, a more accurate name
Ximin Luo
infinity0 at debian.org
Thu Sep 8 15:17:55 CEST 2016
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository diffoscope.
commit a12ded4d409931a852b0fc9a5cfdae4356dbcac8
Author: Ximin Luo <infinity0 at debian.org>
Date: Thu Sep 8 15:17:30 2016 +0200
Rename no-max-limits to no-default-limits, a more accurate name
---
diffoscope/main.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/diffoscope/main.py b/diffoscope/main.py
index 4de7e7f..bfe3efb 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -66,7 +66,7 @@ def create_parser():
help='write multi-file HTML report to given directory')
parser.add_argument('--text', metavar='output', dest='text_output',
help='write plain text output to given file (use - for stdout)')
- parser.add_argument('--no-max-limits', action='store_true', default=False,
+ parser.add_argument('--no-default-limits', action='store_true', default=False,
help='Disable all default limits.')
parser.add_argument('--max-report-size', metavar='BYTES',
dest='max_report_size', type=int,
@@ -166,7 +166,7 @@ def maybe_set_limit(config, parsed_args, key):
v = getattr(parsed_args, key)
if v is not None:
setattr(config, key, float("inf") if v == 0 else v)
- elif parsed_args.no_max_limits:
+ elif parsed_args.no_default_limits:
setattr(config, key, float("inf"))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list