from argparse import ArgumentParser

parser = ArgumentParser()
parser.add_argument("-t", "--test", dest="testmode", action="store_true", help="run in test mode")
parser.add_argument("-x", "--no-mail", dest="nomail", action="store_true", help="do not send email")
args = parser.parse_args()

e5cc0001e826220bff1273fcaae719bd90eec135
<mask token>

<mask token>
parser.add_argument('-t', '--test', dest='testmode', action='store_true',
    help='run in test mode')
parser.add_argument('-x', '--no-mail', dest='nomail', action='store_true',
    help='do not send email')
<mask token>

<mask token>
parser = ArgumentParser()
parser.add_argument('-t', '--test', dest='testmode', action='store_true',
    help='run in test mode')
parser.add_argument('-x', '--no-mail', dest='nomail', action='store_true',
    help='do not send email')
args = parser.parse_args()

from argparse import ArgumentParser
parser = ArgumentParser()
parser.add_argument('-t', '--test', dest='testmode', action='store_true',
    help='run in test mode')
parser.add_argument('-x', '--no-mail', dest='nomail', action='store_true',
    help='do not send email')
args = parser.parse_args()

from argparse import ArgumentParser

parser = ArgumentParser()
parser.add_argument("-t", "--test", dest="testmode", action="store_true", help="run in test mode")
parser.add_argument("-x", "--no-mail", dest="nomail", action="store_true", help="do not send email")
args = parser.parse_args()
