Implemented --confirm option.