From d8d86bc4d1f8c38d7ee7a9e127e43c6892a6033d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 24 Jan 2011 22:09:43 -0800 Subject: Combine usage output into a single string/fprintf call Signed-off-by: Alan Coopersmith --- oclock.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'oclock.c') 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); } -- cgit v1.2.3