Show More
@@ -810,7 +810,7 b' def help_(' | |||||
810 | doc = gettext(pycompat.getdoc(entry[0])) |
|
810 | doc = gettext(pycompat.getdoc(entry[0])) | |
811 | if not doc: |
|
811 | if not doc: | |
812 | doc = _(b"(no help text available)") |
|
812 | doc = _(b"(no help text available)") | |
813 |
if util.safehasattr(entry[0], |
|
813 | if util.safehasattr(entry[0], 'definition'): # aliased command | |
814 | source = entry[0].source |
|
814 | source = entry[0].source | |
815 | if entry[0].definition.startswith(b'!'): # shell alias |
|
815 | if entry[0].definition.startswith(b'!'): # shell alias | |
816 | doc = _(b'shell alias for: %s\n\n%s\n\ndefined by: %s\n') % ( |
|
816 | doc = _(b'shell alias for: %s\n\n%s\n\ndefined by: %s\n') % ( |
General Comments 0
You need to be logged in to leave comments.
Login now