mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
vsh: Replace 'VSH_OFLAG_EMPTY_OK' bitwise flag with a separate struct member
Replace the last bitwise flag with a separate member. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -255,7 +255,7 @@ static const vshCmdOptDef opts_connect[] = {
|
||||
{.name = "name",
|
||||
.type = VSH_OT_STRING,
|
||||
.positional = true,
|
||||
.flags = VSH_OFLAG_EMPTY_OK,
|
||||
.allowEmpty = true,
|
||||
.help = N_("daemon's admin server connection URI")
|
||||
},
|
||||
{.name = NULL}
|
||||
@@ -961,7 +961,7 @@ static const vshCmdOptDef opts_daemon_log_filters[] = {
|
||||
.type = VSH_OT_STRING,
|
||||
.positional = true,
|
||||
.help = N_("redefine the existing set of logging filters"),
|
||||
.flags = VSH_OFLAG_EMPTY_OK
|
||||
.allowEmpty = true
|
||||
},
|
||||
{.name = NULL}
|
||||
};
|
||||
@@ -1044,7 +1044,7 @@ static const vshCmdOptDef opts_daemon_log_outputs[] = {
|
||||
.type = VSH_OT_STRING,
|
||||
.positional = true,
|
||||
.help = N_("redefine the existing set of logging outputs"),
|
||||
.flags = VSH_OFLAG_EMPTY_OK
|
||||
.allowEmpty = true
|
||||
},
|
||||
{.name = NULL}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user