[Python-ideas] argparse: --help-explain [options] ...

Andrew Barnert abarnert at yahoo.com
Fri Jun 21 18:15:11 CEST 2013


On Jun 21, 2013, at 1:10, anatoly techtonik <techtonik at gmail.com> wrote:

> So, the idea is that for such applications with extensive command line API, optparse (argparse or docopt) could provide --help-explain (or just --explain) option that parses command line and explains what it found.

You mean it shows just the help strings for the options given (in the order given?) and nothing else?

That sounds like it could be pretty handy. And if it only works with valid option combinations it sounds like it would be pretty easy too.


More information about the Python-ideas mailing list