diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-24 22:09:43 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-24 22:09:43 -0800 |
commit | d8d86bc4d1f8c38d7ee7a9e127e43c6892a6033d (patch) | |
tree | ead5aef301756f6aa4430ac8b32f0ea55696b67a | |
parent | 5058a07bd4be9f15094b7bbde0fd4d9a975d3ca9 (diff) |
Combine usage output into a single string/fprintf call
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | oclock.c | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -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); } |