@for_app('brew', at_least=2)
def match(command):
    return ('update' in command.script
            and "Error: This command updates brew itself" in command.stderr
            and "Use 'brew upgrade <formula>'" in command.stderr)
dataset/ETHPy150Open nvbn/thefuck/thefuck/rules/brew_update_formula.py/match/original