mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 14:44:05 +00:00
#524: Exit with 1 if no fixed command selected
This commit is contained in:
@@ -33,6 +33,8 @@ def fix_command():
|
||||
|
||||
if selected_command:
|
||||
selected_command.run(command)
|
||||
else:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def print_alias(entry_point=True):
|
||||
|
||||
Reference in New Issue
Block a user