Make version an optional sub-argument
It is rather common to have an optional argument --version
in linux programs to print the plain version of the installed packages. That's what this change is doing. Also, this simplifies the argument parsing a bit.
Edited by Danijel Schorlemmer