What should Python apps do when asked to show help?

Ethan Furman ethan at stoneleaf.us
Thu Apr 28 12:49:04 EDT 2016


On 04/28/2016 09:33 AM, Steven D'Aprano wrote:

> I have an application written in Python which accepts -h or --help to show
> help. I can:
>
> (1) print the help text to stdout;
>
> (2) run the help text through a pager;
>
> (3) do something else?

I think if the user is proficient enough to:

a) run the program from the command line, and

b) use the -h / --help switch

that they are proficient enough to efficiently use said help when output 
to stdout.

--
~Ethan~




More information about the Python-list mailing list