(6)A person charged before a court-martial with an offence punishable under section 69 may be found guilty of any other offence of which he might have been found guilty if the provisions of the Code of Criminal Procedure, 1973] (2 of 1974) were applicable.