summaryrefslogtreecommitdiff
path: root/xsetroot.c
diff options
context:
space:
mode:
authorStéphane Aulery <lkppo@free.fr>2013-07-07 23:23:52 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 22:14:33 -0700
commit6ce1479493af8ade3ce7e41276e0e64c878461e2 (patch)
tree080a008c14202c1b9ec9baf6f5bcb85968c40649 /xsetroot.c
parenta33c612c5ff84ba2d6004d99e96ec6919bb8e859 (diff)
Improve manpage and -help option.
Signed-off-by: Stéphane Aulery <lkppo@free.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xsetroot.c')
-rw-r--r--xsetroot.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/xsetroot.c b/xsetroot.c
index 3bf27d8..8ee1126 100644
--- a/xsetroot.c
+++ b/xsetroot.c
@@ -73,23 +73,23 @@ static Pixmap ReadBitmapFile(char *filename, unsigned int *width, unsigned int *
static void
usage(void)
{
- fprintf(stderr, "usage: %s [options]\n%s\n", program_name,
+ fprintf(stderr, "Usage: %s [options]\n%s\n", program_name,
" where options are:\n"
- " -display <display> or -d <display>\n"
- " -fg <color> or -foreground <color>\n"
- " -bg <color> or -background <color>\n"
- " -rv or -reverse\n"
- " -def or -default\n"
- " -name <string>\n"
- " -cursor <cursor file> <mask file>\n"
- " -cursor_name <cursor-font name>\n"
- " -xcf <ARGB cursor file> <cursor size>\n"
- " -solid <color>\n"
- " -gray or -grey\n"
- " -bitmap <filename>\n"
- " -mod <x> <y>\n"
- " -help\n"
- " -version\n"
+ " -help Print this help\n"
+ " -version Print a version message\n"
+ " -def, -default Reset unspecified attributes\n"
+ " -cursor <cursorfile> <maskfile> Pointer cursor used when outside of any windows\n"
+ " -cursor_name <cursorfontname> Use a pointer cursor from the cursor font\n"
+ " -xcf <cursorfile> <cursorsize> Load a pointer cursor from an Xcursor file\n"
+ " -bitmap <filename> Use the bitmap specified in the file\n"
+ " -mod <x> <y> Use a plaid-like grid pattern on screen\n"
+ " -gray, -grey Make the entire background grey\n"
+ " -bg, -background <color> Set background color\n"
+ " -fg, -foreground <color> Set foreground color\n"
+ " -rv, -reverse Swap foreground and background colors\n"
+ " -solid <color> Set the background of the root window\n"
+ " -name <string> Set the name of the root window\n"
+ " -d, -display <display> Specifies the server to connect to\n"
);
exit(1);
/*NOTREACHED*/