Any person, subject to the code may be punished as a court-martial may direct, if he:
- (1) violates or fails to obey any lawful general order or regulation;
- (2) having knowledge of any other lawful order issued by a member of the military forces which it is his duty to obey, fails to obey the order;
- (3) is derelict in the performance of his duties.