##// END OF EJS Templates
help: filter extension commands
timeless -
r27387:dfab0afd default
parent child Browse files
Show More
@@ -143,6 +143,8 b' def topicmatch(ui, kw):'
143 cmddoc = gettext(entry[0].__doc__).splitlines()[0]
143 cmddoc = gettext(entry[0].__doc__).splitlines()[0]
144 else:
144 else:
145 cmddoc = _('(no help text available)')
145 cmddoc = _('(no help text available)')
146 if filtercmd(ui, cmdname, kw, cmddoc):
147 continue
146 results['extensioncommands'].append((cmdname, cmddoc))
148 results['extensioncommands'].append((cmdname, cmddoc))
147 return results
149 return results
148
150
@@ -1213,7 +1213,7 b' Test -e / -c / -k combinations'
1213 Commands:
1213 Commands:
1214 $ hg help -e|egrep '^[A-Z].*:|^ debug'
1214 $ hg help -e|egrep '^[A-Z].*:|^ debug'
1215 Extensions:
1215 Extensions:
1216 $ hg help -k|egrep '^[A-Z].*:'
1216 $ hg help -k|egrep '^[A-Z].*:|^ debug'
1217 Topics:
1217 Topics:
1218 Commands:
1218 Commands:
1219 Extensions:
1219 Extensions:
General Comments 0
You need to be logged in to leave comments. Login now