]> xenbits.xensource.com Git - libvirt.git/commit
virsh: respect -q/--quiet more
authorPino Toscano <ptoscano@redhat.com>
Wed, 24 Aug 2016 14:14:23 +0000 (16:14 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 24 Aug 2016 15:43:29 +0000 (17:43 +0200)
commitb620bdee14472c811a4f48b665c6f5dac43253d7
treef46a96326635117c9ff7686d04cc14bc159a10ac
parentc74cae234e25382cdb5587cbd3b6c0124eced0b9
virsh: respect -q/--quiet more

Turn various vshPrint() informative messages into vshPrintExtra(), so
they are not printed when requesting the quiet mode; neither XML/info
outputs nor the results of commands are affected.
Also change the expected outputs of the virsh-undefine test, since virsh
is invoked in quiet mode there.

Some informative messages might still be converted (and thus silenced
when in quiet mode), but this is an improvements nonetheless.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1358179
tests/virsh-undefine
tools/virsh-domain.c
tools/virsh-interface.c
tools/virsh-network.c
tools/virsh-nodedev.c
tools/virsh-nwfilter.c
tools/virsh-pool.c
tools/virsh-secret.c
tools/virsh-snapshot.c
tools/virsh-volume.c