mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-26 20:48:47 +00:00
15 lines
387 B
Python
15 lines
387 B
Python
# Appends --all to the brew upgrade command
|
|
#
|
|
# Example:
|
|
# > brew upgrade
|
|
# Warning: brew upgrade with no arguments will change behaviour soon!
|
|
# It currently upgrades all formula but this will soon change to require '--all'.
|
|
#
|
|
#
|
|
|
|
def match(command, settings):
|
|
return (command.script == 'brew upgrade')
|
|
|
|
def get_new_command(command, settings):
|
|
return command.script + ' --all'
|