Rendering: Comand Line & Codec

When using the command line to render an .avi, does Blender use the Codec chosen in the .blend file?

Thanks in advance.

…actually, I answered my own question. It does.