print errors/warnings for wrong number of arguments