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:
parent
c2edf5214a
commit
c3f9768b55
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user