Add target option and arg to revert command.

Use new `parse_args()` method to tell the arguments apart. Die on unknown
args, and warn on too many changes or targets.