Fix typo in command generation