> > 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 <vap...@chromium.org> > > -mike > > What Mike said. I'll get this merged this week. > > Reviewed-by: Stephen Finucane <stephen.finuc...@intel.com>
Merged. _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork