complete: Don't require a parameter with --force-files

A classic fallthrough problem!

This is why I want to enable -Wimplicit-fallthrough
This commit is contained in:
Fabian Homborg 2021-01-29 18:08:05 +01:00
parent 062f24d91b
commit 4e8c0f757d

View file

@ -180,6 +180,7 @@ maybe_t<int> builtin_complete(parser_t &parser, io_streams_t &streams, wchar_t *
}
case 'F': {
result_mode.force_files = true;
break;
}
case 'r': {
result_mode.requires_param = true;