mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
main: Print human readable error for command line error
Fixes: #367 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -280,7 +280,7 @@ fn start_vmm(cmd_arguments: ArgMatches) {
|
||||
let vm_config = match config::VmConfig::parse(vm_params) {
|
||||
Ok(config) => config,
|
||||
Err(e) => {
|
||||
println!("Failed parsing parameters {:?}", e);
|
||||
println!("{}", e);
|
||||
process::exit(1);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user