[libvirt PATCH v2 3/6] ci: helper: Introduce --quiet

Erik Skultety eskultet at redhat.com
Wed Mar 17 13:31:52 UTC 2021


On Wed, Mar 17, 2021 at 11:54:40AM +0100, Andrea Bolognani wrote:
> On Tue, 2021-03-16 at 18:32 +0100, Erik Skultety wrote:
> > +++ b/ci/helper
> > @@ -68,6 +68,12 @@ class Parser:
> >  
> >          # Main parser
> >          self.parser = argparse.ArgumentParser()
> > +        self.parser.add_argument(
> > +            "--quiet",
> > +            action="store_true",
> > +            default=False,
> > +            help="silence all output"
> > +        )
> 
> This is not an entirely accurate description, because something like
> 
>   $ ci/helper --quiet build debian-10
> 
> will still produce plenty of output... We can fix that afterwards
> though.

Hmm, the question then is whether it actually makes sense with any other
command besides refresh? You don't want to suppress building output, because
what's the point, you don't want to do it with 'shell' and 'list-images' either
(obviously), leaving us essentially with 'refresh' only. So I'll change this
accordingly.

Erik




More information about the libvir-list mailing list