This commit is contained in:
Kovid Goyal 2018-05-05 11:14:20 +05:30
parent f761245280
commit 577ba0b39d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -560,9 +560,7 @@ def compare_opts(opts):
max(len(k) for k in opts if getattr(opts, k) != getattr(defaults, k) and k not in skip))
for f in sorted(defaults._fields):
if getattr(opts, f) != getattr(defaults, f):
if f in skip:
continue
if getattr(opts, f) != getattr(defaults, f) and f not in skip:
print(title(fmt.format(f)), getattr(opts, f))
final, initial = opts.keymap, default_opts.keymap