comparison mercurial/help.py @ 32547:0cec8ad579d4

help: convert dict to strkwargs
author Augie Fackler <raf@durin42.com>
date Sun, 28 May 2017 13:28:41 -0400
parents bd872f64a8ba
children 633c635a790a
comparison
equal deleted inserted replaced
32546:3b8155305fbe 32547:0cec8ad579d4
613 raise error.Abort(msg, hint=hint) 613 raise error.Abort(msg, hint=hint)
614 else: 614 else:
615 # program name 615 # program name
616 if not ui.quiet: 616 if not ui.quiet:
617 rst = [_("Mercurial Distributed SCM\n"), '\n'] 617 rst = [_("Mercurial Distributed SCM\n"), '\n']
618 rst.extend(helplist(None, **opts)) 618 rst.extend(helplist(None, **pycompat.strkwargs(opts)))
619 619
620 return ''.join(rst) 620 return ''.join(rst)
621 621
622 def formattedhelp(ui, name, keep=None, unknowncmd=False, full=True, **opts): 622 def formattedhelp(ui, name, keep=None, unknowncmd=False, full=True, **opts):
623 """get help for a given topic (as a dotted name) as rendered rst 623 """get help for a given topic (as a dotted name) as rendered rst