Corrected command line flag checks.
Merge pull request #3 from splotch/master

Corrected command line flag checks.