main: Remove "--vhost-user-net"

This option was superseded by using "--net" with "vhost_user=true". This
option wasn't being parsed any more but was left over.

Fixes: #806

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-03-12 16:26:41 +00:00
parent 8d785bbd5f
commit 4f2469e054

View File

@ -206,17 +206,6 @@ fn create_app<'a, 'b>(
.min_values(1)
.group("vm-config"),
)
.arg(
Arg::with_name("vhost-user-net")
.long("vhost-user-net")
.help(
"Network parameters \"mac=<mac_addr>,sock=<socket_path>, \
num_queues=<number_of_queues>,queue_size=<size_of_each_queue>\"",
)
.takes_value(true)
.min_values(1)
.group("vm-config"),
)
.arg(
Arg::with_name("vsock")
.long("vsock")