client: split overlong option descriptions

This commit is contained in:
Christophe Fergeau 2011-07-19 13:48:56 +02:00
parent 765948d449
commit d81578ec0c

View File

@ -2282,11 +2282,14 @@ 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",
"disable guest display effects (if supported by the guest vdagent)", "wallpaper/font-smooth/animation/all", true);
"disable guest display effects " \
"(if supported by the guest vdagent)",
"wallpaper/font-smooth/animation/all", true);
parser.set_multi(SPICE_OPT_DISABLE_DISPLAY_EFFECTS, ',');
parser.add(SPICE_OPT_CONTROLLER, "controller", "enable external controller");