[PATCH 3/4] wmcp: Properly break up multiple line help text.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmcp/wmcp.c | 64 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/wmcp/wmcp.c b/wmcp/wmcp.c
index 2d30e83..5f659e8 100644
--- a/wmcp/wmcp.c
+++ b/wmcp/wmcp.c
@@ -806,38 +806,38 @@ int flush_expose(Window w) {
 void show_usage()
 {
 
-fprintf(stderr,"
-
-%s
-This software is GPL -- do as you wish with it.
-
-Origional Author:
-   Ben Cohen <[email protected]>
-
-Contributors:
-   Thomas Nemeth <[email protected]>
-   Craig Maloney <[email protected]>
-   Gert Beumer <[email protected]>
-
-
-
-usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]
-            [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]
-
-
--g    geometry:    ie: 64x64+10+10
--d    dpy:         Display. ie: 127.0.0.1:0.0
--n    workspaces:  How many buttons to start with.
--a    alt key:     integer 1-4 defining ModXMask (default 1 Mod1Mask).
--w    i/n/w:       Window State: Iconic, Normal, Withdrawn (default Withdrawn)
--s    y/n:         Shaped window: yes or no (default y)
--c                 Sends CTRL + ALT + Key (default only sends ALT + key)
--v                 Verbose. 0=off, 1=on (default 0)
--x                 Number of buttons on the x-direction (1,2,3, or 4)
--y                 Number of buttons in the y-direction (1,2,3, or 4)
--h                 Help. This screen.
-
-
+fprintf(stderr,"\n\
+\n\
+%s\n\
+This software is GPL -- do as you wish with it.\n\
+\n\
+Origional Author:\n\
+   Ben Cohen <[email protected]>\n\
+\n\
+Contributors:\n\
+   Thomas Nemeth <[email protected]>\n\
+   Craig Maloney <[email protected]>\n\
+   Gert Beumer <[email protected]>\n\
+\n\
+\n\
+\n\
+usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]\n\
+            [-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]\n\
+\n\
+\n\
+-g    geometry:    ie: 64x64+10+10\n\
+-d    dpy:         Display. ie: 127.0.0.1:0.0\n\
+-n    workspaces:  How many buttons to start with.\n\
+-a    alt key:     integer 1-4 defining ModXMask (default 1 Mod1Mask).\n\
+-w    i/n/w:       Window State: Iconic, Normal, Withdrawn (default Withdrawn)\n\
+-s    y/n:         Shaped window: yes or no (default y)\n\
+-c                 Sends CTRL + ALT + Key (default only sends ALT + key)\n\
+-v                 Verbose. 0=off, 1=on (default 0)\n\
+-x                 Number of buttons on the x-direction (1,2,3, or 4)\n\
+-y                 Number of buttons in the y-direction (1,2,3, or 4)\n\
+-h                 Help. This screen.\n\
+\n\
+\n\
 ",VERSION);
 
 exit(-1);
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.