misc: Fix mis-sorting of command line options
This un-breaks the test suite with the dbus_api feature enabled. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
This commit is contained in:
parent
9a24680abd
commit
2278a5236a
1 changed files with 12 additions and 12 deletions
|
|
@ -218,18 +218,6 @@ fn get_cli_options_sorted(
|
|||
)
|
||||
.default_value(default_vcpus)
|
||||
.group("vm-config"),
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
Arg::new("debug-console")
|
||||
.long("debug-console")
|
||||
.help("Debug console: off|pty|tty|file=</path/to/a/file>,iobase=<port in hex>")
|
||||
.default_value("off,iobase=0xe9")
|
||||
.group("vm-config"),
|
||||
#[cfg(feature = "dbus_api")]
|
||||
Arg::new("dbus-service-name")
|
||||
.long("dbus-service-name")
|
||||
.help("Well known name of the device")
|
||||
.num_args(1)
|
||||
.group("vmm-config"),
|
||||
#[cfg(feature = "dbus_api")]
|
||||
Arg::new("dbus-object-path")
|
||||
.long("dbus-object-path")
|
||||
|
|
@ -237,12 +225,24 @@ fn get_cli_options_sorted(
|
|||
.num_args(1)
|
||||
.group("vmm-config"),
|
||||
#[cfg(feature = "dbus_api")]
|
||||
Arg::new("dbus-service-name")
|
||||
.long("dbus-service-name")
|
||||
.help("Well known name of the device")
|
||||
.num_args(1)
|
||||
.group("vmm-config"),
|
||||
#[cfg(feature = "dbus_api")]
|
||||
Arg::new("dbus-system-bus")
|
||||
.long("dbus-system-bus")
|
||||
.action(ArgAction::SetTrue)
|
||||
.help("Use the system bus instead of a session bus")
|
||||
.num_args(0)
|
||||
.group("vmm-config"),
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
Arg::new("debug-console")
|
||||
.long("debug-console")
|
||||
.help("Debug console: off|pty|tty|file=</path/to/a/file>,iobase=<port in hex>")
|
||||
.default_value("off,iobase=0xe9")
|
||||
.group("vm-config"),
|
||||
Arg::new("device")
|
||||
.long("device")
|
||||
.help(DeviceConfig::SYNTAX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue