Accounting for when there is no command usage

pull/8/head
sgoudham 4 years ago
parent 3f8a3ce312
commit 7407e9473a

@ -393,7 +393,7 @@ class HelpPaginator(Pages):
aliases = " | ".join(command.aliases)
if command.usage:
self.title = f"{command.qualified_name} | {aliases} {command.signature}"
elif command.signature:
elif not command.usage:
self.title = f"{command.qualified_name} | {aliases} `{command.signature}`"
else:
self.title = f"{command.qualified_name} `{command.signature}`"

Loading…
Cancel
Save