Protect --wd argument from override