diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-24 10:16:40 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-24 10:16:40 -0700 |
commit | 3643c69e12c2294f5eafae06d10ce7f76c5daad9 (patch) | |
tree | dbf31947a6122e599315fd5498c969bf4d4ec27b | |
parent | 3a0e14080f81fbfb7b2df2fc8a775b2dc8506cb3 (diff) |
Combine usage message fprintfs into a single call
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xgamma.c | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -46,17 +46,16 @@ static int EventBase, ErrorBase; static void _X_NORETURN Syntax(void) { - fprintf (stderr, "usage: %s [-options]\n\n", - ProgramName); - fprintf (stderr, "where the available options are:\n"); - fprintf (stderr, " -display host:dpy or -d\n"); - fprintf (stderr, " -quiet or -q\n"); - fprintf (stderr, " -screen or -s\n"); - fprintf (stderr, " -gamma f.f Gamma Value\n"); - fprintf (stderr, " -rgamma f.f Red Gamma Value\n"); - fprintf (stderr, " -ggamma f.f Green Gamma Value\n"); - fprintf (stderr, " -bgamma f.f Blue Gamma Value\n\n"); - fprintf (stderr, "If no gamma is specified, returns the current setting\n"); + fprintf (stderr, "usage: %s [-options]\n\n%s", ProgramName, + "where the available options are:\n" + " -display host:dpy or -d\n" + " -quiet or -q\n" + " -screen or -s\n" + " -gamma f.f Gamma Value\n" + " -rgamma f.f Red Gamma Value\n" + " -ggamma f.f Green Gamma Value\n" + " -bgamma f.f Blue Gamma Value\n\n" + "If no gamma is specified, returns the current setting\n"); exit (1); } |