fix mandatory argument handling
Merge pull request #23 from edmund-huber/mandatory_argument_handling

fix mandatory argument handling