[libvirt PATCH v2 2/6] ci: helper: Use the ArgumentDefaultsHelpFormatter help formatter

Erik Skultety eskultet at redhat.com
Wed Mar 17 11:10:45 UTC 2021


On Wed, Mar 17, 2021 at 11:52:22AM +0100, Andrea Bolognani wrote:
> On Tue, 2021-03-16 at 18:32 +0100, Erik Skultety wrote:
> > This help formatter class reports the defaults we use for options
> > taking an argument.
> > 
> > Signed-off-by: Erik Skultety <eskultet at redhat.com>
> > ---
> >  ci/helper | 5 +++++
> >  1 file changed, 5 insertions(+)
> 
> It's a shame that we have to repeat this for every single action
> instead of being able to set it for the top-level parser and have
> subparser inherit that. Oh well.

Yep, I was sad as well when I found out.

> 
> Reviewed-by: Andrea Bolognani <abologna at redhat.com>

Thanks,
Erik




More information about the libvir-list mailing list