From 590aa5f17cd4b8d710662e6af701c166392d0235 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 19 Jan 2013 11:21:29 -0800 Subject: Combine usage message into a single string Signed-off-by: Alan Coopersmith --- appres.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/appres.c b/appres.c index 9a137fc..506d31f 100644 --- a/appres.c +++ b/appres.c @@ -39,12 +39,10 @@ static void _X_NORETURN usage (void) { fprintf (stderr, - "usage: %s [class [instance]] [-1] [toolkitoptions]\n", + "usage: %s [class [instance]] [-1] [toolkitoptions]\n" + "-1 list resources only at the specified level\n" + "The number of class and instance elements must be equal.\n", ProgramName); - fprintf (stderr, - "-1 list resources only at the specified level\n"); - fprintf (stderr, - "The number of class and instance elements must be equal.\n"); exit (1); } -- cgit v1.2.3