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

Andrea Bolognani abologna at redhat.com
Wed Mar 17 10:52:22 UTC 2021


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.

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

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list