branch: give a more helpful message on redundant arguments