def METHOD_NAME(parser):
    args = parser.METHOD_NAME()
    # Bist defaulted to hex values for BDF. Interpret the strings and
    # replace them with integers.
    if args.device_id:
        args.device_id = int(args.device_id, 16)
    if args.bus:
        args.bus = int(args.bus, 16)
    if args.device:
        args.device = int(args.device, 16)
    if args.function:
        args.function = int(args.function, 16)
    return args