fixing ranges in argparse handling
Merge pull request #1 from pklaus/argparse-improvements

fixing ranges in argparse handling