1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 10:51:11 +01:00

#524: Exit with 1 if no fixed command selected

This commit is contained in:
nvbn 2016-06-28 00:22:04 +03:00
parent 77ea630d84
commit 9b6cd0cd7b

View File

@ -33,6 +33,8 @@ def fix_command():
if selected_command:
selected_command.run(command)
else:
sys.exit(1)
def print_alias(entry_point=True):