mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-14 07:04:43 -05:00
virsh: Reorder some options
According to comments in parsing functions, optional options should be specified *after* required ones. It makes sense and help output looks cleaner. The only exceptions are options with type == VSH_OT_ARGV. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
+4
-4
@@ -190,15 +190,15 @@ static const vshCmdOptDef opts_pool_X_as[] = {
|
||||
.flags = VSH_OFLAG_REQ,
|
||||
.help = N_("name of the pool")
|
||||
},
|
||||
{.name = "print-xml",
|
||||
.type = VSH_OT_BOOL,
|
||||
.help = N_("print XML document, but don't define/create")
|
||||
},
|
||||
{.name = "type",
|
||||
.type = VSH_OT_DATA,
|
||||
.flags = VSH_OFLAG_REQ,
|
||||
.help = N_("type of the pool")
|
||||
},
|
||||
{.name = "print-xml",
|
||||
.type = VSH_OT_BOOL,
|
||||
.help = N_("print XML document, but don't define/create")
|
||||
},
|
||||
{.name = "source-host",
|
||||
.type = VSH_OT_DATA,
|
||||
.help = N_("source-host for underlying storage")
|
||||
|
||||
Reference in New Issue
Block a user