fixed argparse DeprecationWarning

this should fix github #82
thanks to brianpcurran for reporting this bug