Fix argv parsing
Merge https://github.com/csabahenk/GReader-hoover into pulling-test