def METHOD_NAME(parser, option, group):
    if option not in sys.argv: return
    for item in group:
        if item in sys.argv:
            parser.error("argument {0} is incompatible with argument {1}".format(option, item))