mercurial/help.py
changeset 16816 d10994f1c7a2
parent 16815 e740746ea557
child 16845 4594729c61ee
--- a/mercurial/help.py	Fri Jun 01 11:58:23 2012 +0200
+++ b/mercurial/help.py	Fri Jun 01 12:01:33 2012 +0200
@@ -62,21 +62,6 @@
 
     return ''.join(rst)
 
-# list all option lists
-def opttext(optlist, width, verbose):
-    rst = ''
-    if not optlist:
-        return ''
-
-    for title, options in optlist:
-        rst += '\n%s\n' % title
-        if options:
-            rst += "\n"
-            rst += optrst(options, verbose)
-            rst += '\n'
-
-    return '\n' + minirst.format(rst, width)
-
 def topicmatch(kw):
     """Return help topics matching kw.