def parse_command_line():
    'Parse the command line options'
    desc = 'The Stars Align - Day 10 of Advent of Code 2018'
    sample = 'sample: python aoc_10.py input.txt'
    parser = argparse.ArgumentParser(description=desc, epilog=sample)
    parser.add_argument('-v', '--verbose', action='store_true', default=False, dest='verbose', help='Print status messages to stdout')
    parser.add_argument('-p', '--part', action='store', default=1, type=int, dest='part', help='Puzzle Part (1 or 2)')
    parser.add_argument('-l', '--limit', action='store', default=0, type=int, dest='limit', help='Maximum limit (e.g., time, size, recursion) before stopping')
    parser.add_argument('filepath', metavar='FILENAME', action='store', type=str, help='Location of puzzle input')
    return parser.parse_args()
Parse the command line options
def parse_command_line():
    
    desc = 'The Stars Align - Day 10 of Advent of Code 2018'
    sample = 'sample: python aoc_10.py input.txt'
    parser = argparse.ArgumentParser(description=desc, epilog=sample)
    parser.add_argument('-v', '--verbose', action='store_true', default=False, dest='verbose', help='Print status messages to stdout')
    parser.add_argument('-p', '--part', action='store', default=1, type=int, dest='part', help='Puzzle Part (1 or 2)')
    parser.add_argument('-l', '--limit', action='store', default=0, type=int, dest='limit', help='Maximum limit (e.g., time, size, recursion) before stopping')
    parser.add_argument('filepath', metavar='FILENAME', action='store', type=str, help='Location of puzzle input')
    return parser.parse_args()