mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-20 06:10:59 +00:00
Merge pull request #305 from cjmayo/python3_48
{python3_48} Python3: fix displaying help
This commit is contained in:
commit
4ccf0fb2d0
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class LCArgumentParser(argparse.ArgumentParser):
|
|||
|
||||
def print_help(self, file=sys.stdout):
|
||||
"""Print a help message to stdout."""
|
||||
msg = console.encode(self.format_help())
|
||||
msg = self.format_help()
|
||||
if fileutil.is_tty(file):
|
||||
strformat.paginate(msg)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue