Handle single flag when generate command is not included.
Merge pull request #7 from edgibbs/single_flag_ignored

Handle single flag when generate command is not included.