fix module-type opt

I noticed `-t` module type opt was not getting passed to the generator.