mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user