diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-27 18:18:38 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-27 18:18:38 -0800 |
commit | b2cde1725132e0f0f3cdd2019745d130235282c3 (patch) | |
tree | a666c5941326c5362ef43fe15cff76347a405614 /xev.c | |
parent | 5eb60b2f71fb673bb6bb34a956c2f3114a59e152 (diff) |
Add -version option to print program version
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xev.c')
-rw-r--r-- | xev.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 - */ |