diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-21 23:08:43 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-21 23:08:43 -0800 |
commit | 27c57ec56abbd175c7a3ea7c50d85e91e1940c87 (patch) | |
tree | 707ce3db217dbf1fd8a7cb3b40031c6ef8a66a9a /xdpyinfo.c | |
parent | f407231c855bc0349d0f8543a9dfe9dff4b2508b (diff) |
Combine usage messages into a single string
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1439,11 +1439,11 @@ print_marked_extensions(Display *dpy) static void _X_NORETURN usage(void) { - fprintf (stderr, "usage: %s [options]\n", ProgramName); - fprintf (stderr, "-display displayname\tserver to query\n"); - fprintf (stderr, "-queryExtensions\tprint info returned by XQueryExtension\n"); - fprintf (stderr, "-ext all\t\tprint detailed info for all supported extensions\n"); - fprintf (stderr, "-ext extension-name\tprint detailed info for extension-name if one of:\n "); + fprintf (stderr, "usage: %s [options]\n%s", ProgramName, + "-display displayname\tserver to query\n" + "-queryExtensions\tprint info returned by XQueryExtension\n" + "-ext all\t\tprint detailed info for all supported extensions\n" + "-ext extension-name\tprint detailed info for extension-name if one of:\n "); print_known_extensions(stderr); fprintf (stderr, "\n"); exit (1); |