diff --git a/thefuck/rules/git_lfs_mistype.py b/thefuck/rules/git_lfs_mistype.py index 8af83f6a..afa3d5b7 100644 --- a/thefuck/rules/git_lfs_mistype.py +++ b/thefuck/rules/git_lfs_mistype.py @@ -14,5 +14,5 @@ def match(command): @git_support def get_new_command(command): broken_cmd = re.findall(r'Error: unknown command "([^"]*)" for "git-lfs"', command.output)[0] - matched = get_all_matched_commands(command.output, ['Did you mean']) + matched = get_all_matched_commands(command.output, ['Did you mean', ' for usage.']) return replace_command(command, broken_cmd, matched)