Fix error in argument parser

#### Reviewers
@jesuspg 

#### Description
Related to issue #8

#### Testing
All unit tests passed