mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-29 09:05:19 +00:00
deb4ad5e23
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> |
||
---|---|---|
.. | ||
lib.rs | ||
main.rs |