[PATCH v2 04/27] cmdSecretSetValue: Make it obvious that --file, --base64 and --interactive are exlcusive

Daniel P. Berrangé berrange at redhat.com
Wed Feb 3 11:02:06 UTC 2021


On Tue, Feb 02, 2021 at 05:55:41PM +0100, Peter Krempa wrote:
> Convert the conditions to else if so that it's obvious that only one of
> the cases will ever be used.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tools/virsh-secret.c | 19 +++++++------------
>  1 file changed, 7 insertions(+), 12 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list