cloud-hypervisor/option_parser
Rob Bradford 9f89e0a4e0 option_parser: For tuple list type strip brackets only once
The new option parsing for "[..,]" syntax is much stricter and requires
that everything is balanced in terms of brackets. Change the stripping
of the brackets to only strip the first and last one rather than
multiple:

e.g. "[[a,b], [c,d]]" becomes "[a,b],[c,d]" rather than "a,b], [c"

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-08-08 16:23:00 +01:00
..
src option_parser: For tuple list type strip brackets only once 2022-08-08 16:23:00 +01:00
Cargo.toml build: migrate to Rust 2021 edition 2022-04-11 09:51:12 +01:00