Made -d switch in the generator optional.

Updated readme to match.