The captain commanded the soldiers to march on.. direct speech is ?

Answer: 
'The captain said to the soldiers, 'march on
The captain commanded the soldiers to march on.. direct speech is ?