From 0e5452b0ba2e743a67d700744092b2cd48f36615 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 7 Jul 2011 10:09:04 +0200 Subject: [PATCH] client: improve WAN option description The WAN options (--color-depth and --disable-effects) need support from the guest agent to be working. Currently they are only supported on Windows. While I don't want to explicitly mention Windows in --help output, we can hint that it won't work with all guests in --help. This fixes RH bug #712941 --- client/application.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client/application.cpp b/client/application.cpp index 9b787c18..810a6dd1 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -2270,11 +2270,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", + 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", "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");