Format commands.