As nouns,
commanding officer is a hypernym of
commander-in-chief; that is, commanding officer is a
word with a broader meaning than commander-in-chief:
commander-in-chief: the officer who holds the supreme command
commanding officer: an officer in command of a military unit