Return exit code

Fixes #439
It seems weird that when asked for the version or the help, we would give an error.