support -v/-q/--dry-run options