diff --git a/src/sourmash/plugins.py b/src/sourmash/plugins.py index 8191af9c5b..ec011d012e 100644 --- a/src/sourmash/plugins.py +++ b/src/sourmash/plugins.py @@ -138,8 +138,11 @@ def get_cli_scripts_descriptions(): script_cls = plugin.load() command = getattr(script_cls, 'command') - description = getattr(script_cls, 'description', - f"(no description provided by plugin '{name}')") + description = getattr(script_cls, 'description', "") + description = description.splitlines()[0] + if not description: + description = f"(no description provided by plugin '{name}')" + yield f"sourmash scripts {command:16s} - {description}"