diff options
-rw-r--r-- | xbiff.c | 28 |
1 files changed, 12 insertions, 16 deletions
@@ -70,24 +70,20 @@ static XtActionsRec xbiff_actions[] = { static void Usage (void) { - static const char *help_message[] = { -"where options include:", -" -display host:dpy X server to contact", -" -geometry geom size of mailbox", -" -file file file to watch", -" -update seconds how often to check for mail", -" -volume percentage how loud to ring the bell", -" -bg color background color", -" -fg color foreground color", -" -rv reverse video", -" -shape shape the window", -NULL}; - const char **cpp; + const char *help_message = +"where options include:\n" +" -display host:dpy X server to contact\n" +" -geometry geom size of mailbox\n" +" -file file file to watch\n" +" -update seconds how often to check for mail\n" +" -volume percentage how loud to ring the bell\n" +" -bg color background color\n" +" -fg color foreground color\n" +" -rv reverse video\n" +" -shape shape the window\n"; fprintf (stderr, "usage: %s [-options ...]\n", ProgramName); - for (cpp = help_message; *cpp; cpp++) - fprintf (stderr, "%s\n", *cpp); - fprintf (stderr, "\n"); + fprintf (stderr, "%s\n", help_message); exit (1); } |