mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-09 08:51:14 -03:00
@@ -196,6 +196,8 @@ static int handle_flag_1(wchar_t **argv, parser_t &parser, io_streams_t &streams
|
||||
opts->escape_style = STRING_STYLE_URL;
|
||||
} else if (wcscmp(w.woptarg, L"var") == 0) {
|
||||
opts->escape_style = STRING_STYLE_VAR;
|
||||
} else if (wcscmp(w.woptarg, L"pcre2") == 0) {
|
||||
opts->escape_style = STRING_STYLE_PCRE2;
|
||||
} else {
|
||||
string_error(streams, _(L"%ls: Invalid escape style '%ls'\n"), cmd, w.woptarg);
|
||||
return STATUS_INVALID_ARGS;
|
||||
|
||||
Reference in New Issue
Block a user