summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/app.py')
-rw-r--r--morphlib/app.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 8fd52a46..f5871d17 100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -427,9 +427,12 @@ class Morph(cliapp.Application):
text = '%s\n\n%s' % (usage, description)
self.output.write(text)
elif topic in extensions.list_extensions():
+ definitions_repo = morphlib.definitions_repo.open(
+ '.', False, self)
name, kind = os.path.splitext(topic)
try:
with extensions.get_extension_filename(
+ definitions_repo,
name,
kind + '.help', executable=False) as fname:
with open(fname, 'r') as f: