From b9a08309bf5dcaaf1369d81095e459ae9ccbead5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 16 Apr 2012 16:47:12 -0700 Subject: Combine usage message strings Signed-off-by: Alan Coopersmith --- xlsfonts.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/xlsfonts.c b/xlsfonts.c index 0a2900a..e262cb6 100644 --- a/xlsfonts.c +++ b/xlsfonts.c @@ -75,19 +75,19 @@ static void do_query_font (Display *dpy, char *name); void usage(void) { - fprintf (stderr, "usage: %s [-options] [-fn pattern]\n", program_name); - fprintf (stderr, "where options include:\n"); - fprintf (stderr, " -l[l[l]] give long info about each font\n"); - fprintf (stderr, " -m give character min and max bounds\n"); - fprintf (stderr, " -C force columns\n"); - fprintf (stderr, " -1 force single column\n"); - fprintf (stderr, " -u keep output unsorted\n"); - fprintf (stderr, " -o use OpenFont/QueryFont instead of ListFonts\n"); - fprintf (stderr, " -w width maximum width for multiple columns\n"); - fprintf (stderr, " -n columns number of columns if multi column\n"); - fprintf (stderr, " -display displayname X server to contact\n"); - fprintf (stderr, " -d displayname (alias for -display displayname)\n"); - fprintf (stderr, "\n"); + fprintf (stderr, "usage: %s [-options] [-fn pattern]\n%s", program_name, + "where options include:\n" + " -l[l[l]] give long info about each font\n" + " -m give character min and max bounds\n" + " -C force columns\n" + " -1 force single column\n" + " -u keep output unsorted\n" + " -o use OpenFont/QueryFont instead of ListFonts\n" + " -w width maximum width for multiple columns\n" + " -n columns number of columns if multi column\n" + " -display displayname X server to contact\n" + " -d displayname (alias for -display displayname)\n" + "\n"); Close_Display(); exit(EXIT_FAILURE); } -- cgit v1.2.3