Teach EasyMercurial the `--version` option
I'm writing up an installation-checking tool for Software Carpentry, and a number of SWC workshops seem to have used EasyMercurial. I want an easy test to see if it's installed and working, ideally something like:
$ EasyMercurial --version EasyMercurial version 1.2.2
However, it seems that:
- EasyMercurial doesn't parse and command line options, and
- EasyMercurial dies if
DISPLAYis not set.
It would be nice if it did parse at least
--version before trying to
attach to a display.