mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:41:42 +08:00
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:
parent
062f24d91b
commit
4e8c0f757d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user