##// END OF EJS Templates
py3: make sure opts are passed and used correctly in help command...
Pulkit Goyal -
r32143:964c6be3 default
parent child Browse files
Show More
@@ -2759,7 +2759,7 b' def help_(ui, name=None, **opts):'
2759 2759 Returns 0 if successful.
2760 2760 """
2761 2761
2762 keep = opts.get('system') or []
2762 keep = opts.get(r'system') or []
2763 2763 if len(keep) == 0:
2764 2764 if pycompat.sysplatform.startswith('win'):
2765 2765 keep.append('windows')
@@ -23,6 +23,7 b' from . import ('
23 23 filemerge,
24 24 fileset,
25 25 minirst,
26 pycompat,
26 27 revset,
27 28 templatefilters,
28 29 templatekw,
@@ -304,6 +305,7 b' def help_(ui, name, unknowncmd=False, fu'
304 305 '''
305 306
306 307 from . import commands # avoid cycle
308 opts = pycompat.byteskwargs(opts)
307 309
308 310 def helpcmd(name, subtopic=None):
309 311 try:
General Comments 0
You need to be logged in to leave comments. Login now