summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 11:21:29 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-19 11:21:29 -0800
commit590aa5f17cd4b8d710662e6af701c166392d0235 (patch)
tree0648cd758abeecfd3476f804b60a13a6385be1fd
parent766a467795cd9e58cd9ea0266dd6a5b54403aac8 (diff)
Combine usage message into a single string
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--appres.c8
1 files 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);
}