def parse_args(p):
    """ parses command-line arguments and returns an arguments object """
    p.add_argument('-l', '--location', metavar='LOCATION', action='store',
                   dest='location', choices=['dewick', 'Dewick', 'carm', 'Carm',
                                             'carmichael', 'Carmichael'],
                   default='dewick', help='Dewick or Carm? (Default: Dewick)')
    p.add_argument('-i', '--item', metavar='ITEM', action='store', dest='item',
                   default='chicken tenders',
                   help='What are you looking for? (Default: tendies)')
    return p.parse_args()