mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
virsh: cmdDomdisplayReload: Require option name for --type
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 <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
3050cd73a4
commit
1a883c9a7c
@ -1790,7 +1790,7 @@ domdisplay-reload
|
||||
|
||||
::
|
||||
|
||||
domdisplay-reload <domain> [[--type] <type>]
|
||||
domdisplay-reload <domain> [--type <type>]
|
||||
|
||||
Reload the domain's graphical display. This reloads its TLS certificates
|
||||
without restarting the domain. ``type`` can be any constant from the
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user