Added support for --compare and -c commands to select required date comparison.
This closes issue #1.