summaryrefslogtreecommitdiff
path: root/xc/programs/xsetroot
diff options
context:
space:
mode:
authorjim <empty>1988-02-09 11:51:41 +0000
committerjim <empty>1988-02-09 11:51:41 +0000
commita6a0edc65f41b96f932df029481ec74c5614cc81 (patch)
tree8cc83389108d0b6deee4ec942279e828e5caa07b /xc/programs/xsetroot
parent993492d9c1c3003cc6cd2e0328c06d442b028933 (diff)
took out host:dpy stuff
Diffstat (limited to 'xc/programs/xsetroot')
-rw-r--r--xc/programs/xsetroot/xsetroot.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xc/programs/xsetroot/xsetroot.c b/xc/programs/xsetroot/xsetroot.c
index f13599aab..172a5796c 100644
--- a/xc/programs/xsetroot/xsetroot.c
+++ b/xc/programs/xsetroot/xsetroot.c
@@ -34,6 +34,7 @@ usage()
{
fprintf(stderr, "usage: %s [options]\n", program_name);
fprintf(stderr, " where options are:\n");
+ fprintf(stderr, " -display <display> or -d <display>\n");
fprintf(stderr, " -fg <color> or -foreground <color>\n");
fprintf(stderr, " -bg <color> or -background <color>\n");
fprintf(stderr, " -rv or -reverse\n");
@@ -45,7 +46,6 @@ usage()
fprintf(stderr, " -gray or -grey\n");
fprintf(stderr, " -bitmap <filename>\n");
fprintf(stderr, " -mod <x> <y>\n");
- fprintf(stderr, " -display <display> or -d <display>\n");
exit(1);
/*NOTREACHED*/
}
@@ -145,10 +145,6 @@ main(argc, argv)
reverse = 1;
continue;
}
- if (index (argv[i], ':')) {
- display_name = argv[i];
- continue;
- }
usage();
}