1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-13 22:28:33 +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:
try:
if opt == '--ifuckedup':
if opt == '--ifuckedup' or opt == '--add_fuckup':
custom_fuckups.add_fuckup(cmd, val)
return True
elif opt == '--remove':