summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-24 22:09:43 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-01-24 22:09:43 -0800
commitd8d86bc4d1f8c38d7ee7a9e127e43c6892a6033d (patch)
treeead5aef301756f6aa4430ac8b32f0ea55696b67a
parent5058a07bd4be9f15094b7bbde0fd4d9a975d3ca9 (diff)
Combine usage output into a single string/fprintf call
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--oclock.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/oclock.c b/oclock.c
index 92db51e..f9b3552 100644
--- a/oclock.c
+++ b/oclock.c
@@ -70,14 +70,11 @@ static void save(Widget w, XtPointer client_data, XtPointer call_data)
static void usage(void)
{
fprintf(stderr,
-"usage: oclock\n");
- fprintf (stderr,
-" [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]]\n");
- fprintf(stderr,
-" [-fg {color}] [-bg {color}] [-bd {color}] [-bw {pixels}]\n");
- fprintf(stderr,
-" [-minute {color}] [-hour {color}] [-jewel {color}]\n");
- fprintf(stderr,
+"usage: oclock\n"
+" [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]]\n"
+" [-display [{host}]:[{vs}]]\n"
+" [-fg {color}] [-bg {color}] [-bd {color}] [-bw {pixels}]\n"
+" [-minute {color}] [-hour {color}] [-jewel {color}]\n"
" [-backing {backing-store}] [-shape] [-noshape] [-transparent]\n");
exit(1);
}