Parse switches (-A) before calling def2write_r.
Update $1_def.* instead of removing.