summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-07-07 10:09:04 +0200
committerAlon Levy <alevy@redhat.com>2011-07-21 15:09:28 +0300
commit0e5452b0ba2e743a67d700744092b2cd48f36615 (patch)
tree1b2166970b923835811cae81b7a0629814e6d6d8
parent0021a096e5076fe601a04da9cab5a1f50a91eadb (diff)
downloadspice-0e5452b0ba2e743a67d700744092b2cd48f36615.tar.gz
spice-0e5452b0ba2e743a67d700744092b2cd48f36615.tar.xz
spice-0e5452b0ba2e743a67d700744092b2cd48f36615.zip
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
-rw-r--r--client/application.cpp7
1 files 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");