Fixed typo in diagnostic argument processing