##// END OF EJS Templates
py3: handle keyword arguments correctly in help.py...
Pulkit Goyal -
r35357:7f410793 default
parent child Browse files
Show More
@@ -453,7 +453,7 b' def help_(ui, commands, name, unknowncmd'
453 rst.append(' :%s: %s\n' % (f, h[f]))
453 rst.append(' :%s: %s\n' % (f, h[f]))
454
454
455 ex = opts.get
455 ex = opts.get
456 anyopts = (ex('keyword') or not (ex('command') or ex('extension')))
456 anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension')))
457 if not name and anyopts:
457 if not name and anyopts:
458 exts = listexts(_('enabled extensions:'), extensions.enabled())
458 exts = listexts(_('enabled extensions:'), extensions.enabled())
459 if exts:
459 if exts:
General Comments 0
You need to be logged in to leave comments. Login now