Steven D'Aprano <st...@pearwood.info> writes: > (1) print the help text to stdout; > (2) run the help text through a pager;
Stdout unless the PAGER env var is set. Otherwise, I'd say still stdout since the person can pipe it through a pager if they want, but you could use the pager or be fancy and try to detect if stdout is a pty/tty before using the pager. Git pages by default and it bugs me because I tend to use git commands in emacs shell windows and the pager makes a mess. -- https://mail.python.org/mailman/listinfo/python-list