path => compare
This commit is contained in:
parent
7917fcabe5
commit
85fb384ab0
|
@ -131,7 +131,7 @@ class TiramisuHelpFormatter(RawDescriptionHelpFormatter):
|
|||
compare = path.rsplit('.', 1)[1]
|
||||
else:
|
||||
compare = path
|
||||
if name == path:
|
||||
if name == compare:
|
||||
return ''
|
||||
return super().format_help()
|
||||
|
||||
|
|
Loading…
Reference in New Issue