path => compare

This commit is contained in:
Emmanuel Garette 2019-07-26 16:39:49 +02:00 committed by Emmanuel Garette
parent d8ee3486e9
commit 549151b3b8

View file

@ -131,7 +131,7 @@ class TiramisuHelpFormatter(RawDescriptionHelpFormatter):
compare = path.rsplit('.', 1)[1] compare = path.rsplit('.', 1)[1]
else: else:
compare = path compare = path
if name == path: if name == compare:
return '' return ''
return super().format_help() return super().format_help()