diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-13 00:11:41 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-13 00:11:41 -0700 |
commit | 0e0b47341a45c138082d9f8047dcbdb91b90155d (patch) | |
tree | f24a85609fc0919cf67e26edfe994834b8af1a78 | |
parent | 38772ec3b5a7216a88676f95b5edc764dd0a23d6 (diff) |
Combine usage message strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xrandr.c | 112 |
1 files changed, 56 insertions, 56 deletions
@@ -97,62 +97,62 @@ static const struct { static void usage(void) { - printf("usage: %s [options]\n", program_name); - printf(" where options are:\n"); - printf(" --display <display> or -d <display>\n"); - printf(" --help\n"); - printf(" -o <normal,inverted,left,right,0,1,2,3>\n"); - printf(" or --orientation <normal,inverted,left,right,0,1,2,3>\n"); - printf(" -q or --query\n"); - printf(" -s <size>/<width>x<height> or --size <size>/<width>x<height>\n"); - printf(" -r <rate> or --rate <rate> or --refresh <rate>\n"); - printf(" -v or --version\n"); - printf(" -x (reflect in x)\n"); - printf(" -y (reflect in y)\n"); - printf(" --screen <screen>\n"); - printf(" --verbose\n"); - printf(" --current\n"); - printf(" --dryrun\n"); - printf(" --nograb\n"); - printf(" --prop or --properties\n"); - printf(" --fb <width>x<height>\n"); - printf(" --fbmm <width>x<height>\n"); - printf(" --dpi <dpi>/<output>\n"); - printf(" --output <output>\n"); - printf(" --auto\n"); - printf(" --mode <mode>\n"); - printf(" --preferred\n"); - printf(" --pos <x>x<y>\n"); - printf(" --rate <rate> or --refresh <rate>\n"); - printf(" --reflect normal,x,y,xy\n"); - printf(" --rotate normal,inverted,left,right\n"); - printf(" --left-of <output>\n"); - printf(" --right-of <output>\n"); - printf(" --above <output>\n"); - printf(" --below <output>\n"); - printf(" --same-as <output>\n"); - printf(" --set <property> <value>\n"); - printf(" --scale <x>x<y>\n"); - printf(" --scale-from <w>x<h>\n"); - printf(" --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>\n"); - printf(" --off\n"); - printf(" --crtc <crtc>\n"); - printf(" --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]\n"); - printf(" --gamma <r>:<g>:<b>\n"); - printf(" --primary\n"); - printf(" --noprimary\n"); - printf(" --newmode <name> <clock MHz>\n"); - printf(" <hdisp> <hsync-start> <hsync-end> <htotal>\n"); - printf(" <vdisp> <vsync-start> <vsync-end> <vtotal>\n"); - printf(" [flags...]\n"); - printf(" Valid flags: +HSync -HSync +VSync -VSync\n"); - printf(" +CSync -CSync CSync Interlace DoubleScan\n"); - printf(" --rmmode <name>\n"); - printf(" --addmode <output> <name>\n"); - printf(" --delmode <output> <name>\n"); - printf(" --listproviders\n"); - printf(" --setprovideroutputsource <prov-xid> <source-xid>\n"); - printf(" --setprovideroffloadsink <prov-xid> <sink-xid>\n"); + printf("usage: %s [options]\n%s", program_name, + " where options are:\n" + " --display <display> or -d <display>\n" + " --help\n" + " -o <normal,inverted,left,right,0,1,2,3>\n" + " or --orientation <normal,inverted,left,right,0,1,2,3>\n" + " -q or --query\n" + " -s <size>/<width>x<height> or --size <size>/<width>x<height>\n" + " -r <rate> or --rate <rate> or --refresh <rate>\n" + " -v or --version\n" + " -x (reflect in x)\n" + " -y (reflect in y)\n" + " --screen <screen>\n" + " --verbose\n" + " --current\n" + " --dryrun\n" + " --nograb\n" + " --prop or --properties\n" + " --fb <width>x<height>\n" + " --fbmm <width>x<height>\n" + " --dpi <dpi>/<output>\n" + " --output <output>\n" + " --auto\n" + " --mode <mode>\n" + " --preferred\n" + " --pos <x>x<y>\n" + " --rate <rate> or --refresh <rate>\n" + " --reflect normal,x,y,xy\n" + " --rotate normal,inverted,left,right\n" + " --left-of <output>\n" + " --right-of <output>\n" + " --above <output>\n" + " --below <output>\n" + " --same-as <output>\n" + " --set <property> <value>\n" + " --scale <x>x<y>\n" + " --scale-from <w>x<h>\n" + " --transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>\n" + " --off\n" + " --crtc <crtc>\n" + " --panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]\n" + " --gamma <r>:<g>:<b>\n" + " --primary\n" + " --noprimary\n" + " --newmode <name> <clock MHz>\n" + " <hdisp> <hsync-start> <hsync-end> <htotal>\n" + " <vdisp> <vsync-start> <vsync-end> <vtotal>\n" + " [flags...]\n" + " Valid flags: +HSync -HSync +VSync -VSync\n" + " +CSync -CSync CSync Interlace DoubleScan\n" + " --rmmode <name>\n" + " --addmode <output> <name>\n" + " --delmode <output> <name>\n" + " --listproviders\n" + " --setprovideroutputsource <prov-xid> <source-xid>\n" + " --setprovideroffloadsink <prov-xid> <sink-xid>\n"); } static void _X_NORETURN _X_ATTRIBUTE_PRINTF(1,2) |