Show More
@@ -234,9 +234,11 b' def callcatch(ui, func):' | |||||
234 | (inst.args[0], " ".join(inst.args[1]))) |
|
234 | (inst.args[0], " ".join(inst.args[1]))) | |
235 | except error.CommandError as inst: |
|
235 | except error.CommandError as inst: | |
236 | if inst.args[0]: |
|
236 | if inst.args[0]: | |
|
237 | ui.pager('help') | |||
237 | ui.warn(_("hg %s: %s\n") % (inst.args[0], inst.args[1])) |
|
238 | ui.warn(_("hg %s: %s\n") % (inst.args[0], inst.args[1])) | |
238 | commands.help_(ui, inst.args[0], full=False, command=True) |
|
239 | commands.help_(ui, inst.args[0], full=False, command=True) | |
239 | else: |
|
240 | else: | |
|
241 | ui.pager('help') | |||
240 | ui.warn(_("hg: %s\n") % inst.args[1]) |
|
242 | ui.warn(_("hg: %s\n") % inst.args[1]) | |
241 | commands.help_(ui, 'shortlist') |
|
243 | commands.help_(ui, 'shortlist') | |
242 | except error.ParseError as inst: |
|
244 | except error.ParseError as inst: |
General Comments 0
You need to be logged in to leave comments.
Login now