]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cmdSecretSetValue: Make it obvious that --file, --base64 and --interactive are exlcusive
authorPeter Krempa <pkrempa@redhat.com>
Mon, 1 Feb 2021 12:10:59 +0000 (13:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Feb 2021 12:07:12 +0000 (13:07 +0100)
commit26fedf92187faccbdf5b34be8bc9fda26a02e055
tree6a8bc52fececc0ea90f7e747764b7efe92080251
parentac4b55c99da546ccfa7b8d5aef723ecdb8593212
cmdSecretSetValue: Make it obvious that --file, --base64 and --interactive are exlcusive

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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virsh-secret.c