An indictment may charge the offence for which the accused was committed for trial or for sentence or for any offence disclosed by the committal proceedings.