1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 09:39:01 +00:00

add_fuckup allowed

This commit is contained in:
Jared Henry Oviatt 2015-05-10 23:55:13 -07:00
parent c2edf5214a
commit c3f9768b55

View File

@ -77,7 +77,7 @@ def check_args(settings, args, cmd):
for opt, val in options: for opt, val in options:
try: try:
if opt == '--ifuckedup': if opt == '--ifuckedup' or opt == '--add_fuckup':
custom_fuckups.add_fuckup(cmd, val) custom_fuckups.add_fuckup(cmd, val)
return True return True
elif opt == '--remove': elif opt == '--remove':