Fixed option parsing for dupe