diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-20 20:43:52 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-20 20:43:52 -0800 |
commit | 8aa0329166dcb3ed4981ef0a782a475ced27f166 (patch) | |
tree | 001c059005bb5ee9bce248c8c043cba41ac61c6f /xload.c | |
parent | a370e2ede4cff90f233a0249a0c34bef18f57907 (diff) |
Combine usage message strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xload.c')
-rw-r--r-- | xload.c | 43 |
1 files changed, 16 insertions, 27 deletions
@@ -141,33 +141,22 @@ static int light_update = 10 * 1000; static void usage(void) { - fprintf (stderr, gettext("usage: %s [-options ...]\n\n"), ProgramName); - fprintf (stderr, gettext("where options include:\n")); - fprintf (stderr, " -display %s", - gettext("display X server on which to display\n")); - fprintf (stderr, " -geometry %s", - gettext("geometry size and location of window\n")); - fprintf (stderr, " -fn %s", - gettext("font font to use in label\n")); - fprintf (stderr, " -scale %s", - gettext("number minimum number of scale lines\n")); - fprintf (stderr, " -update %s", - gettext("seconds interval between updates\n")); - fprintf (stderr, " -label %s", - gettext("string annotation text\n")); - fprintf (stderr, " -bg %s", - gettext("color background color\n")); - fprintf (stderr, " -fg %s", - gettext("color graph color\n")); - fprintf (stderr, " -hl %s", - gettext("color scale and text color\n")); - fprintf (stderr, " -nolabel %s", - gettext("removes the label from above the chart.\n")); - fprintf (stderr, " -jumpscroll %s", - gettext("value number of pixels to scroll on overflow\n")); - fprintf (stderr, " -lights %s", - gettext("use keyboard leds to display current load\n")); - fprintf (stderr, "\n"); + fprintf (stderr, gettext("usage: %s [-options ...]\n\n%s\n"), + ProgramName, gettext( + "where options include:\n" + " -display <display> X server on which to display\n" + " -geometry <geometry> size and location of window\n" + " -fn <font> font to use in label\n" + " -scale <number> minimum number of scale lines\n" + " -update <seconds> interval between updates\n" + " -label <string> annotation text\n" + " -bg <color> background color\n" + " -fg <color> graph color\n" + " -hl <color> scale and text color\n" + " -nolabel removes the label from above the chart.\n" + " -jumpscroll <value> number of pixels to scroll on overflow\n" + " -lights use keyboard leds to display current load\n" + )); exit(1); } |