(2)Every case of a person being detained in custody beyond a period of forty-eight hours, and the reason thereof shall be reported by the commanding officer to the air or other officer to whom application would be made to convene a general or district court-martial for the trial of the person charged.