Reactivate paging of help pages.

This commit is contained in:
Bastian Kleineidam 2014-09-11 19:42:42 +02:00
parent 9c3739f1c9
commit 21c7200360
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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):