From b73a269bf22358e32e599131bb3500c523d104bf Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 20 Sep 2004 21:36:07 +0000 Subject: [PATCH] Print the version number in the usage summary. --- ChangeLog | 5 +++++ xcompmgr.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index d2a4ed3..d1f70c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-09-20 Adam Jackson + + * xcompmgr.c: + Print the version number in the usage summary. + 2004-09-17 Dan Doel * xcompmgr.c: (win_extents), (usage), (main): diff --git a/xcompmgr.c b/xcompmgr.c index 185aee8..c504649 100644 --- a/xcompmgr.c +++ b/xcompmgr.c @@ -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"); -- 1.9.1