add the --verify option

Closes #535
Merge pull request #669 from pkozlowski-opensource/verify4

add the --verify option