Make version an optional sub-argument

Closed Marius Kriegerowski requested to merge feature/refactor-argument-parsing into master

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

Merge request reports