summaryrefslogtreecommitdiff
path: root/bmtoa.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-20 23:16:46 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-20 23:16:46 -0800
commit7b5ba88d06ca88e11a8127d12f3d7685a473684e (patch)
treef93471028ad78e0cd4b8e3475bdb356025d1d222 /bmtoa.c
parent0d42abaefc427f7c354f4cff3d098775df5c9cb4 (diff)
Combine usage messages into a single string
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'bmtoa.c')
-rw-r--r--bmtoa.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/bmtoa.c b/bmtoa.c
index c20d44c..7156d1a 100644
--- a/bmtoa.c
+++ b/bmtoa.c
@@ -56,13 +56,10 @@ static void print_scanline (unsigned int width, unsigned int height,
static void
usage (void)
{
- fprintf (stderr, "usage: %s [-options ...] [filename]\n\n",
- ProgramName);
- fprintf (stderr,
- "where options include:\n");
- fprintf (stderr,
+ fprintf (stderr, "usage: %s [-options ...] [filename]\n\n%s\n",
+ ProgramName,
+ "where options include:\n"
" -chars cc chars to use for 0 and 1 bits, respectively\n");
- fprintf (stderr, "\n");
exit (1);
}