mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-31 21:20:28 +00:00
Reactivate paging of help pages.
This commit is contained in:
parent
9c3739f1c9
commit
21c7200360
2 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ Changes:
|
|||
Fixes:
|
||||
- checking: Correct typos in the proxy handling code.
|
||||
Closes: GH bug #536
|
||||
- cmdline: Reactivate paging of help pages.
|
||||
|
||||
|
||||
9.3 "Better Living Through Chemistry" (released 16.7.2014)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ from .director import console
|
|||
class LCArgumentParser(argparse.ArgumentParser):
|
||||
"""Custom argument parser to format help text."""
|
||||
|
||||
def print_help(self, file=None):
|
||||
def print_help(self, file=sys.stdout):
|
||||
"""Print a help message to stdout."""
|
||||
msg = console.encode(self.format_help())
|
||||
if fileutil.is_tty(file):
|
||||
|
|
|
|||
Loading…
Reference in a new issue