As this command was introduced in this release add the flag requiring to pass optionname.
This is needed to actually disallow positional parsing of the value despite documenting that the flag name is required. Signed-off-by: Peter Krempa <[email protected]> --- tools/virsh-domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 35809a866b..cd37828660 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -13290,6 +13290,7 @@ static const vshCmdOptDef opts_domdisplay_reload[] = { VIRSH_COMMON_OPT_DOMAIN_FULL(0), {.name = "type", .type = VSH_OT_INT, + .flags = VSH_OFLAG_REQ_OPT, .help = N_("graphics display type") }, {.name = NULL} -- 2.44.0 _______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
