summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2004-09-20 21:36:07 +0000
committerAdam Jackson <ajax@nwnk.net>2004-09-20 21:36:07 +0000
commitb73a269bf22358e32e599131bb3500c523d104bf (patch)
treee98ea22ee21cd6a2a50c95f528d4ea46c760ef07
parent34c09f7b7fdc0fd96fd4adf69a00f295858ac11a (diff)
Print the version number in the usage summary.
-rw-r--r--ChangeLog5
-rw-r--r--xcompmgr.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d2a4ed3..d1f70c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
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");