summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-04-16 17:22:16 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-04-16 17:22:16 -0700
commit4fa0dd48d6c9fcd54276a66c221fdafda2395c02 (patch)
tree971e94fc2974d0b99d312f70df205040cf2b7b92
parentc0b077a85fb2e624ec87fb8bec906ce30bc473e4 (diff)
Combine usage message strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrefresh.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/xrefresh.c b/xrefresh.c
index 48ee09e..ded2908 100644
--- a/xrefresh.c
+++ b/xrefresh.c
@@ -65,16 +65,16 @@ static char *ProgramName;
static void _X_NORETURN
Syntax(void)
{
- fprintf (stderr, "usage: %s [-options] [geometry] [display]\n\n",
- ProgramName);
- fprintf (stderr, "where the available options are:\n");
- fprintf (stderr, " -display host:dpy or -d\n");
- fprintf (stderr, " -geometry WxH+X+Y or -g spec\n");
- fprintf (stderr, " -black use BlackPixel\n");
- fprintf (stderr, " -white use WhitePixel\n");
- fprintf (stderr, " -solid colorname use the color indicated\n");
- fprintf (stderr, " -root use the root background\n");
- fprintf (stderr, " -none no background in window\n");
+ fprintf (stderr, "usage: %s [-options] [geometry] [display]\n\n%s",
+ ProgramName,
+ "where the available options are:\n"
+ " -display host:dpy or -d\n"
+ " -geometry WxH+X+Y or -g spec\n"
+ " -black use BlackPixel\n"
+ " -white use WhitePixel\n"
+ " -solid colorname use the color indicated\n"
+ " -root use the root background\n"
+ " -none no background in window\n");
fprintf (stderr, "\nThe default is: %s -none\n\n", ProgramName);
exit (1);
}