On 16 Oct 2015 16:39, Brian Norris wrote:
> Our --help handling is convoluted and confusing, since we're hacking
> around using some of argparse's built-in features (like generating
> --help arguments for us). It seems like we were hacking around the
> conflict between -h used for hashes and -h used for automatic help
> flags. Fortunately, Python's argparse provides us with a
> 'conflict_handler' which will resolve these conflicts for us.
> 
> Altogether, this patch means that 'pwclient --help' will not generate a
> full recursive print of all subcommand helps (arguably a good thing),
> but it provides better automatic formatting of all the supported
> subcommands and eliminates some awkward code.

forcing people to poke the subcommand help directly is pretty standard
in the wider world.  it's not like `git --help` shows every single help
screen :).

Acked-by: Mike Frysinger <[email protected]>
-mike

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to