Re: [Spice-devel] [PATCH fixup1 x11spice 2/3] Simplify the expression of argument parsing.

2019-07-24 Thread Jeremy White
On 7/24/19 9:59 AM, Frediano Ziglio wrote: This fixes a bug with --config=handling. This also includes test code courtesy of Frediano Ziglio . This was very experiment patch, just worked. I would turn it in a real test as there's a tests directory. It seems is using just exported APIs so mayb

Re: [Spice-devel] [PATCH fixup1 x11spice 2/3] Simplify the expression of argument parsing.

2019-07-24 Thread Frediano Ziglio
> > This fixes a bug with --config=handling. > > This also includes test code courtesy of Frediano Ziglio > . This was very experiment patch, just worked. I would turn it in a real test as there's a tests directory. It seems is using just exported APIs so maybe would be better to put a new test

[Spice-devel] [PATCH fixup1 x11spice 2/3] Simplify the expression of argument parsing.

2019-07-24 Thread Jeremy White
This fixes a bug with --config=handling. This also includes test code courtesy of Frediano Ziglio . Signed-off-by: Jeremy White --- src/main.c| 8 +++-- src/options.c | 91 ++- src/options.h | 1 - 3 files changed, 82 insertions(+), 18 delet