mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-04 04:25:45 +00:00
main: Move logging arguments to their own group
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
8aabb9012d
commit
611d13ed1b
@ -84,6 +84,7 @@ fn create_app<'a, 'b>(
|
|||||||
.about("Launch a cloud-hypervisor VMM.")
|
.about("Launch a cloud-hypervisor VMM.")
|
||||||
.group(ArgGroup::with_name("vm-config").multiple(true))
|
.group(ArgGroup::with_name("vm-config").multiple(true))
|
||||||
.group(ArgGroup::with_name("vmm-config").multiple(true))
|
.group(ArgGroup::with_name("vmm-config").multiple(true))
|
||||||
|
.group(ArgGroup::with_name("logging").multiple(true))
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("cpus")
|
Arg::with_name("cpus")
|
||||||
.long("cpus")
|
.long("cpus")
|
||||||
@ -244,7 +245,7 @@ fn create_app<'a, 'b>(
|
|||||||
.short("v")
|
.short("v")
|
||||||
.multiple(true)
|
.multiple(true)
|
||||||
.help("Sets the level of debugging output")
|
.help("Sets the level of debugging output")
|
||||||
.group("vmm-config"),
|
.group("logging"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("log-file")
|
Arg::with_name("log-file")
|
||||||
@ -252,7 +253,7 @@ fn create_app<'a, 'b>(
|
|||||||
.help("Log file. Standard error is used if not specified")
|
.help("Log file. Standard error is used if not specified")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.min_values(1)
|
.min_values(1)
|
||||||
.group("vmm-config"),
|
.group("logging"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("api-socket")
|
Arg::with_name("api-socket")
|
||||||
|
Loading…
Reference in New Issue
Block a user