##// END OF EJS Templates
help: call filtercmd from topicmatch...
timeless -
r27324:54563745 default
parent child Browse files
Show More
@@ -124,6 +124,8 b' def topicmatch(ui, kw):'
124 if doclines:
124 if doclines:
125 summary = doclines[0]
125 summary = doclines[0]
126 cmdname = cmd.partition('|')[0].lstrip('^')
126 cmdname = cmd.partition('|')[0].lstrip('^')
127 if filtercmd(ui, cmdname, kw, docs):
128 continue
127 results['commands'].append((cmdname, summary))
129 results['commands'].append((cmdname, summary))
128 for name, docs in itertools.chain(
130 for name, docs in itertools.chain(
129 extensions.enabled(False).iteritems(),
131 extensions.enabled(False).iteritems(),
@@ -1041,6 +1041,16 b' Test help hooks'
1041 helphook1
1041 helphook1
1042 helphook2
1042 helphook2
1043
1043
1044 help -c should only show debug --debug
1045
1046 $ hg help -c --debug|grep debug|wc -l|grep '^\s*0\s*$'
1047 [1]
1048
1049 help -c should only show deprecated for -v
1050
1051 $ hg help -c -v|grep DEPRECATED|wc -l|grep '^\s*0\s*$'
1052 [1]
1053
1044 Test -e / -c / -k combinations
1054 Test -e / -c / -k combinations
1045
1055
1046 $ hg help -c schemes
1056 $ hg help -c schemes
@@ -1083,12 +1093,10 b' Test keyword search help'
1083
1093
1084 Commands:
1094 Commands:
1085
1095
1086 bookmarks create a new bookmark or list existing bookmarks
1096 bookmarks create a new bookmark or list existing bookmarks
1087 clone make a copy of an existing repository
1097 clone make a copy of an existing repository
1088 debugapplystreamclonebundle apply a stream clone bundle file
1098 paths show aliases for remote repositories
1089 debugcreatestreamclonebundle create a stream clone bundle file
1099 update update working directory (or switch revisions)
1090 paths show aliases for remote repositories
1091 update update working directory (or switch revisions)
1092
1100
1093 Extensions:
1101 Extensions:
1094
1102
General Comments 0
You need to be logged in to leave comments. Login now