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