Show More
@@ -1253,7 +1253,14 b' def help_(ui, name=None, with_version=Fa' | |||||
1253 | if with_version: |
|
1253 | if with_version: | |
1254 | version_(ui) |
|
1254 | version_(ui) | |
1255 | ui.write('\n') |
|
1255 | ui.write('\n') | |
1256 | aliases, i = cmdutil.findcmd(ui, name, table) |
|
1256 | ||
|
1257 | try: | |||
|
1258 | aliases, i = cmdutil.findcmd(ui, name, table) | |||
|
1259 | except cmdutil.AmbiguousCommand, inst: | |||
|
1260 | select = lambda c: c.lstrip('^').startswith(inst.args[0]) | |||
|
1261 | helplist(_('list of commands:\n\n'), select) | |||
|
1262 | return | |||
|
1263 | ||||
1257 | # synopsis |
|
1264 | # synopsis | |
1258 | ui.write("%s\n" % i[2]) |
|
1265 | ui.write("%s\n" % i[2]) | |
1259 |
|
1266 |
General Comments 0
You need to be logged in to leave comments.
Login now