mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-31 23:28:45 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ maybe_t<int> builtin_complete(parser_t &parser, io_streams_t &streams, wchar_t *
|
||||||
}
|
}
|
||||||
case 'F': {
|
case 'F': {
|
||||||
result_mode.force_files = true;
|
result_mode.force_files = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case 'r': {
|
case 'r': {
|
||||||
result_mode.requires_param = true;
|
result_mode.requires_param = true;
|
||||||
|
|
Loading…
Reference in a new issue