Print the version number in the usage summary.

This commit is contained in:
Adam Jackson 2004-09-20 21:36:07 +00:00
parent 34c09f7b7f
commit b73a269bf2
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-09-20 Adam Jackson <ajax@freedesktop.org>
* xcompmgr.c:
Print the version number in the usage summary.
2004-09-17 Dan Doel <dolio@case.edu>
* xcompmgr.c: (win_extents), (usage), (main):

View File

@ -1756,6 +1756,7 @@ ev_window (XEvent *ev)
void
usage (char *program)
{
fprintf (stderr, "%s v1.0\n", program);
fprintf (stderr, "usage: %s [options]\n", program);
fprintf (stderr, "Options\n");
fprintf (stderr, " -d display\n Specifies which display should be managed.\n");