[Spice-devel] [PATCH 4/5] client: improve WAN option description

Christophe Fergeau cfergeau at redhat.com
Tue Jul 19 04:50:49 PDT 2011


On Tue, Jul 19, 2011 at 02:48:16PM +0300, Alon Levy wrote:
> On Tue, Jul 19, 2011 at 01:42:54PM +0200, Christophe Fergeau wrote:
> > Sorry, I was too hasty pushing it. Should I make an additional commit to
> > split it?
> 
> Not Important.

Too late :)
How does the patch below look?

Christophe


From e2aded011e81fd8da5664024fb05618593fa098e Mon Sep 17 00:00:00 2001
From: Christophe Fergeau <cfergeau at redhat.com>
Date: Tue, 19 Jul 2011 13:48:56 +0200
Subject: [PATCH] client: split overlong option descriptions

---
 client/application.cpp |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/client/application.cpp b/client/application.cpp
index 5ebcce7..f421989 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -2276,11 +2276,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");
-- 
1.7.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110719/60278ac1/attachment.pgp>


More information about the Spice-devel mailing list