summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 11:56:33 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 11:56:33 -0800
commit7c50a1b8952baa8227908881858428f2ce971ed8 (patch)
tree44b1b93208d5be0920ffa6ac6a6f71aea419ca94
parent70d4855b4b313621cb250922712a1461dd742c3f (diff)
Combine usage message into single string/call
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xcursorgen.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/xcursorgen.c b/xcursorgen.c
index e6076e7..2dda7ad 100644
--- a/xcursorgen.c
+++ b/xcursorgen.c
@@ -47,18 +47,18 @@ struct flist
static void
usage (const char *name)
{
- fprintf (stderr, "usage: %s [-V] [--version] [-?] [--help] [-p <dir>] [--prefix <dir>] [CONFIG [OUT]]\n",
- name);
-
- fprintf (stderr, "Generate an Xcursor file from a series of PNG images\n");
- fprintf (stderr, "\n");
- fprintf (stderr, " -V, --version display the version number and exit\n");
- fprintf (stderr, " -?, --help display this message and exit\n");
- fprintf (stderr, " -p, --prefix <dir> find cursor images in <dir>\n");
- fprintf (stderr, "\n");
- fprintf (stderr, "With no CONFIG, or when CONFIG is -, read standard input. "
- "Same with OUT and\n");
- fprintf (stderr, "standard output.\n");
+ fprintf (stderr,
+ "usage: %s [-V] [--version] [-?] [--help] [-p <dir>] [--prefix <dir>] [CONFIG [OUT]]\n%s",
+ name,
+ "Generate an Xcursor file from a series of PNG images\n"
+ "\n"
+ " -V, --version display the version number and exit\n"
+ " -?, --help display this message and exit\n"
+ " -p, --prefix <dir> find cursor images in <dir>\n"
+ "\n"
+ "With no CONFIG, or when CONFIG is -, read standard input. "
+ "Same with OUT and\n"
+ "standard output.\n");
}
static int