mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 12:52:29 +08:00
fix typo
This commit is contained in:
parent
087500e7b9
commit
cf3b24cf62
|
@ -338,7 +338,7 @@ int builtin_complete(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
|
||||||
|
|
||||||
// Allow a limited number of recursive calls to complete (#3474).
|
// Allow a limited number of recursive calls to complete (#3474).
|
||||||
if (parser.libdata().builtin_complete_recursion_level >= 24) {
|
if (parser.libdata().builtin_complete_recursion_level >= 24) {
|
||||||
streams.err.append_format(L"%ls: maximum recursive depth reached\n", cmd);
|
streams.err.append_format(L"%ls: maximum recursion depth reached\n", cmd);
|
||||||
} else {
|
} else {
|
||||||
parser.libdata().builtin_complete_recursion_level++;
|
parser.libdata().builtin_complete_recursion_level++;
|
||||||
|
|
||||||
|
|
|
@ -87,4 +87,4 @@ complete -C'complete_test_recurse1 '
|
||||||
# CHECKERR: recursing
|
# CHECKERR: recursing
|
||||||
# CHECKERR: recursing
|
# CHECKERR: recursing
|
||||||
# CHECKERR: recursing
|
# CHECKERR: recursing
|
||||||
# CHECKERR: complete: maximum recursive depth reached
|
# CHECKERR: complete: maximum recursion depth reached
|
||||||
|
|
Loading…
Reference in New Issue
Block a user