From 611d13ed1b999075304907c1008c682c612b874d Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 22 Jan 2020 15:00:39 +0000 Subject: [PATCH] main: Move logging arguments to their own group Signed-off-by: Rob Bradford --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 917f973e4..683e14d1c 100755 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,7 @@ fn create_app<'a, 'b>( .about("Launch a cloud-hypervisor VMM.") .group(ArgGroup::with_name("vm-config").multiple(true)) .group(ArgGroup::with_name("vmm-config").multiple(true)) + .group(ArgGroup::with_name("logging").multiple(true)) .arg( Arg::with_name("cpus") .long("cpus") @@ -244,7 +245,7 @@ fn create_app<'a, 'b>( .short("v") .multiple(true) .help("Sets the level of debugging output") - .group("vmm-config"), + .group("logging"), ) .arg( Arg::with_name("log-file") @@ -252,7 +253,7 @@ fn create_app<'a, 'b>( .help("Log file. Standard error is used if not specified") .takes_value(true) .min_values(1) - .group("vmm-config"), + .group("logging"), ) .arg( Arg::with_name("api-socket")