mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 07:29:32 +00:00
client: add missing "," in option list
In commit 44073d1b38 - client: improve WAN option description
one "," was missing at the end of the line. Since the next argument
was a string too, gcc silently concatenated them, and thanks to C++
polymorphic functions, the compiler didn't complain about the
missing argument, so it went unnoticed.
The effects are pretty bad though, since it prevents spicec from
running because it thinks command line parsing fails.
This commit is contained in:
parent
c4d6f9791a
commit
b8a1de3274
@ -2276,7 +2276,7 @@ bool Application::process_cmd_line(int argc, char** argv, bool &full_screen)
|
||||
parser.add(SPICE_OPT_CANVAS_TYPE, "canvas-type", "set rendering canvas", "canvas_type", true);
|
||||
parser.set_multi(SPICE_OPT_CANVAS_TYPE, ',');
|
||||
|
||||
parser.add(SPICE_OPT_DISPLAY_COLOR_DEPTH, "color-depth", "guest display color depth (if supported by the guest vdagent)"
|
||||
parser.add(SPICE_OPT_DISPLAY_COLOR_DEPTH, "color-depth", "guest display color depth (if supported by the guest vdagent)",
|
||||
"16/32", true);
|
||||
|
||||
parser.add(SPICE_OPT_DISABLE_DISPLAY_EFFECTS, "disable-effects",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user