Added --dry-run (fixes #29).