1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00
on -> one
This commit is contained in:
MH Kwon 2020-06-26 17:22:40 +09:00
parent 365db1ee41
commit f133910eb7

View File

@ -181,7 +181,7 @@ def is_app(command, *app_names, **kwargs):
def for_app(*app_names, **kwargs):
"""Specifies that matching script is for on of app names."""
"""Specifies that matching script is for one of app names."""
def _for_app(fn, command):
if is_app(command, *app_names, **kwargs):
return fn(command)