Add validateOptions in purge cmd. Improve messages in purge cmd.

The validateOptions thing is to fix issue #4232.
The rest is to improve the messages to the user.