From 6e933f1c8f5951364218bb8cdc498901fe7b0cab Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Tue, 3 Oct 2017 11:08:22 +0200 Subject: [PATCH] Add `-s` to builtin_bind's allowed parameter list --- src/builtin_bind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin_bind.cpp b/src/builtin_bind.cpp index c97153f94..e2ed3b399 100644 --- a/src/builtin_bind.cpp +++ b/src/builtin_bind.cpp @@ -274,7 +274,7 @@ void builtin_bind_t::list_modes(io_streams_t &streams) { int parse_cmd_opts(bind_cmd_opts_t &opts, int *optind, //!OCLINT(high ncss method) int argc, wchar_t **argv, parser_t &parser, io_streams_t &streams) { wchar_t *cmd = argv[0]; - static const wchar_t *short_options = L":aehkKfM:Lm:"; + static const wchar_t *short_options = L":aehkKfM:Lm:s"; static const struct woption long_options[] = {{L"all", no_argument, NULL, 'a'}, {L"erase", no_argument, NULL, 'e'}, {L"function-names", no_argument, NULL, 'f'},