diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-20 23:16:46 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-20 23:16:46 -0800 |
commit | 7b5ba88d06ca88e11a8127d12f3d7685a473684e (patch) | |
tree | f93471028ad78e0cd4b8e3475bdb356025d1d222 /atobm.c | |
parent | 0d42abaefc427f7c354f4cff3d098775df5c9cb4 (diff) |
Combine usage messages into a single string
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'atobm.c')
-rw-r--r-- | atobm.c | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -44,19 +44,13 @@ static void doit(FILE *fp, const char *filename, const char *chars, static void usage (void) { - fprintf (stderr, "usage: %s [-options ...] [filename]\n\n", - ProgramName); - fprintf (stderr, - "where options include:\n"); - fprintf (stderr, - " -chars cc chars to use for 0 and 1 bits, respectively\n"); - fprintf (stderr, - " -name variable name to use in bitmap file\n"); - fprintf (stderr, - " -xhot number x position of hotspot\n"); - fprintf (stderr, - " -yhot number y position of hotspot\n"); - fprintf (stderr, "\n"); + 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" + " -name variable name to use in bitmap file\n" + " -xhot number x position of hotspot\n" + " -yhot number y position of hotspot\n"); exit (1); } |