2 * On-screen Display Client
4 * (c) 2010 Martin Mares <mj@ucw.cz>
12 #include <X11/Xatom.h>
20 fprintf(stderr, "Usage: osdc [--<property>=<value> | <message>]*\n");
24 int main(int argc, char **argv)
26 struct osd_msg *m = osd_new_msg();
29 for (int i=1; i<argc; i++)
32 if (more_opts && arg[0] == '-' && arg[1] == '-')
39 if (!strcmp(arg, "help"))
41 char *sep = strchr(arg, '=');
45 osd_add_line(m, arg, sep);
49 osd_add_line(m, NULL, arg);