def METHOD_NAME(subparser):
    parser = subparser.add_parser("openocd", help="Use OpenOCD as Backend.")
    parser.add_argument(
            "-f",
            dest="oconfig",
            action="append",
            help="Use these OpenOCD config files.")
    parser.add_argument(
            "-s",
            dest="osearch",
            action="append",
            help="Search in these paths for config files.")
    parser.add_argument(
            "-c",
            dest="ocommands",
            action="append",
            help="Extra OpenOCD commands.")
    parser.set_defaults(backend=lambda args:
            OpenOcdBackend(args.ocommands, args.oconfig, args.osearch))
    return parser