mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +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) {
|
||||
Ok(config) => config,
|
||||
Err(e) => {
|
||||
println!("Failed parsing parameters {:?}", e);
|
||||
println!("{}", e);
|
||||
process::exit(1);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user