diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-26 21:13:41 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-26 21:13:41 -0800 |
commit | 9ee59de6b0ab352e22d89edee361af40b85a1c79 (patch) | |
tree | 03a73f764db899cb3aab3fee614ff70a0bd64f5b | |
parent | db25a4a75d4a3ea5c904ec63669c47bd5f467d98 (diff) |
Combine usage message strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xcmsdb.c | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -59,25 +59,17 @@ static void Syntax (void) { fprintf (stderr, - "usage: %s [-options ...] [filename]\n\n", - ProgramName); - fprintf (stderr, - "where options include:\n"); - fprintf (stderr, - " -display host:dpy[.scrn] display to use\n"); - fprintf (stderr, - " -format [ 32 | 16 | 8 ] property format\n"); - fprintf (stderr, - " -query query Screen Color Characterization Data\n"); - fprintf (stderr, - " -remove remove Screen Color Characterization Data\n"); + "usage: %s [-options ...] [filename]\n\n%s", + ProgramName, + "where options include:\n" + " -display host:dpy[.scrn] display to use\n" + " -format [ 32 | 16 | 8 ] property format\n" + " -query query Screen Color Characterization Data\n" + " -remove remove Screen Color Characterization Data\n" #ifdef GRAY - fprintf (stderr, " -color use color as default\n"); - fprintf (stderr, " -gray use gray-scale as default\n"); #endif /* GRAY */ - fprintf (stderr, "\n"); exit (1); } |