On 28-4-2016 18:33, Steven D'Aprano wrote:
> but I was thinking of doing both: give my application a subcommand or an > option to display help directly in a pager, while -h and --help print to > stdout as normal. > > What do you think? Too clever? An idea: Use just one help option, then if sys.stdout.isatty(): #....use a pager to display help text else: #....print all help text normally Irmen -- https://mail.python.org/mailman/listinfo/python-list