This commit is contained in:
Johannes Altmanninger 2019-10-06 12:49:56 +02:00
parent 087500e7b9
commit cf3b24cf62
2 changed files with 2 additions and 2 deletions

View File

@ -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).
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 {
parser.libdata().builtin_complete_recursion_level++;

View File

@ -87,4 +87,4 @@ complete -C'complete_test_recurse1 '
# CHECKERR: recursing
# CHECKERR: recursing
# CHECKERR: recursing
# CHECKERR: complete: maximum recursive depth reached
# CHECKERR: complete: maximum recursion depth reached