Commit Briefs
do not treat the -h and -V flags as errors
When run with the -h or -V option, output the help or version text to stdout and exit with success (0). Only write usage and help information to stderr and exit with error (1) if there is a mistake in the command syntax. tweak and ok stsp
changes for 0.42 (tags/0.42)
fix 'bad path' error from 'got clone' by unveiling the repository path again
Problem found by jrick
prefer the BSD extension to reset getopt over the GNU one
Sadly there is no portable way to reset getopt(3). BSD: optind = 1; optreset = 1; GNU: optind = 0; ok stsp