summaryrefslogtreecommitdiff
path: root/xev.c
diff options
context:
space:
mode:
Diffstat (limited to 'xev.c')
-rw-r--r--xev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xev.c b/xev.c
index 9afec4a..45c283f 100644
--- a/xev.c
+++ b/xev.c
@@ -1086,6 +1086,9 @@ main (int argc, char **argv)
usage (NULL);
event_mask_specified = True;
continue;
+ case 'v':
+ puts(PACKAGE_STRING);
+ exit(0);
default:
goto unrecognized;
} /* end switch on - */