mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
virsh: iface-list: options --all and --inactive are mutually exclusive
Signed-off-by: Lin Ma <lma@suse.de> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
b7b53c651a
commit
b34c571e25
@ -351,6 +351,8 @@ cmdInterfaceList(vshControl *ctl, const vshCmd *cmd G_GNUC_UNUSED)
|
||||
bool ret = false;
|
||||
vshTablePtr table = NULL;
|
||||
|
||||
VSH_EXCLUSIVE_OPTIONS_VAR(all, inactive);
|
||||
|
||||
if (inactive)
|
||||
flags = VIR_CONNECT_LIST_INTERFACES_INACTIVE;
|
||||
if (all)
|
||||
|
Loading…
x
Reference in New Issue
Block a user