Commit 4a996a42 authored by ∞'s avatar 💻

Support sub-group docline

parent fcf4e0ab
......@@ -28,7 +28,10 @@ class GroupDocDescriptor:
doc = inspect.getdoc(
if isinstance(cmd, Group):
doc = cmd.doc.split('\n')[0]
doc = inspect.getdoc(
if doc:
line += doc.split('\n')[0]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment