(n)judge advocatea staff officer serving as legal adviser to a military commander