Check that no extra arguments are passed to config