def METHOD_NAME(line):
    '''Helper to output line from lspci command'''
    parser = argparse.ArgumentParser()
    parser.add_argument('bdf')
    parser.add_argument('class')
    parser.add_argument('vendor')
    parser.add_argument('device')
    parser.add_argument('subsystem_vendor')
    parser.add_argument('subsystem_device')
    parser.add_argument('-r', nargs='?', dest='revision')
    parser.add_argument('-p', nargs='?', dest='progif')
    # lspci prints quoted fields separated by spaces, so parse that using shlex
    tokens = shlex.split(line)
    return parser.parse_args(tokens)