[commands] Remove extraneous or
This commit is contained in:
parent
79a8249bc7
commit
47ab24991f
@ -331,7 +331,7 @@ class HelpCommand:
|
|||||||
"""
|
"""
|
||||||
command_name = self._command_impl.name
|
command_name = self._command_impl.name
|
||||||
ctx = self.context
|
ctx = self.context
|
||||||
if ctx is None or or ctx.command is None or ctx.command.qualified_name != command_name:
|
if ctx is None or ctx.command is None or ctx.command.qualified_name != command_name:
|
||||||
return command_name
|
return command_name
|
||||||
return ctx.invoked_with
|
return ctx.invoked_with
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user