Implement --version argument

Edited by Frank Sauerburger