cloud-hypervisor/vhost_user_block/src
Alyssa Ross deb4ad5e23 vhost_user_*: mark --*-backend as required
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>
2021-08-04 17:17:40 +02:00
..
lib.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00
main.rs vhost_user_*: mark --*-backend as required 2021-08-04 17:17:40 +02:00