help: convert dict to strkwargs
authorAugie Fackler <raf@durin42.com>
Sun, 28 May 2017 13:28:41 -0400
changeset 32547 0cec8ad579d4
parent 32546 3b8155305fbe
child 32548 d770a08ee9d9
help: convert dict to strkwargs
mercurial/help.py
--- a/mercurial/help.py	Sun May 28 13:42:16 2017 -0400
+++ b/mercurial/help.py	Sun May 28 13:28:41 2017 -0400
@@ -615,7 +615,7 @@
         # program name
         if not ui.quiet:
             rst = [_("Mercurial Distributed SCM\n"), '\n']
-        rst.extend(helplist(None, **opts))
+        rst.extend(helplist(None, **pycompat.strkwargs(opts)))
 
     return ''.join(rst)