aboutsummaryrefslogtreecommitdiff
path: root/Lib/fontTools/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/fontTools/help.py')
-rw-r--r--Lib/fontTools/help.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/fontTools/help.py b/Lib/fontTools/help.py
index ff8048d5..4334e500 100644
--- a/Lib/fontTools/help.py
+++ b/Lib/fontTools/help.py
@@ -22,7 +22,8 @@ def main():
description = imports.main.__doc__
if description:
pkg = pkg.replace("fontTools.", "").replace(".__main__", "")
- descriptions[pkg] = description
+ # show the docstring's first line only
+ descriptions[pkg] = description.splitlines()[0]
except AttributeError as e:
pass
for pkg, description in descriptions.items():