argparse is cleaner

argparse can be used instead for handling the command-line argument stuff. Simple and nice.