diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:12:54 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:13:25 -0800 |
commit | b630fe37ae21678464186916a15bf8c99f65b896 (patch) | |
tree | f10816c3ebc23285c2098929c5e3d977bc66410b | |
parent | c4be2fb6c3ae3d6bfa9f767d40578b2680ab58af (diff) |
Combine usage message into single string
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | fslsfonts.c | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/fslsfonts.c b/fslsfonts.c index 1141cbe..f72cde6 100644 --- a/fslsfonts.c +++ b/fslsfonts.c @@ -92,26 +92,15 @@ static 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, - " -w width maximum width for multiple columns\n"); - fprintf(stderr, - " -n columns number of columns if multi column\n"); - fprintf(stderr, - " -server servername font server to contact\n"); - fprintf(stderr, + fprintf(stderr, "%s", "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" + " -w width maximum width for multiple columns\n" + " -n columns number of columns if multi column\n" + " -server servername font server to contact\n" "\n"); exit(1); } |