Fixes #27: added the option --last-commit