fix argument sanity check when -s is specified
Merge pull request #37 from jts/master

fix argument sanity check when -s is specified