mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-07 04:07:21 +00:00
I don't think the min_values(1) was doing anything, since takes_value(true) was already set, and after this change I still get an error if I try to supply the argument with no value. But the unwrap below would fail if the argument wasn't supplied at all. By setting required(true) we get a nice message from clap instead. Signed-off-by: Alyssa Ross <hi@alyssa.is>