eliben/pss — pull request #26 by pekkaklarck (2014-08-03 19:10:54+00:00)
Title: Exit with a return code similarly as ack and grep.

0: Match found or help/version printed.
1: No match.
2: Error.

Also changed `main()` not to call `sys.exit()` but to return the rc.

Resolves #24.