mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +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:
parent
c7dfbd8a84
commit
22958261aa
@ -280,7 +280,7 @@ fn start_vmm(cmd_arguments: ArgMatches) {
|
|||||||
let vm_config = match config::VmConfig::parse(vm_params) {
|
let vm_config = match config::VmConfig::parse(vm_params) {
|
||||||
Ok(config) => config,
|
Ok(config) => config,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("Failed parsing parameters {:?}", e);
|
println!("{}", e);
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user