parent
196b38b2e0
commit
e4d6bff5ec
|
@ -174,7 +174,7 @@ constexpr char tuple_separator = '|';
|
|||
template<typename... Types, size_t... I>
|
||||
String option_to_string_impl(Quoting quoting, const std::tuple<Types...>& opt, std::index_sequence<I...>)
|
||||
{
|
||||
return join(make_array({option_to_string(std::get<I>(opt), quoting)...}), tuple_separator);
|
||||
return quoter(quoting)(join(make_array({option_to_string(std::get<I>(opt), Quoting::Raw)...}), tuple_separator));
|
||||
}
|
||||
|
||||
template<typename... Types>
|
||||
|
|
1
test/shell/quoted-range/cmd
Normal file
1
test/shell/quoted-range/cmd
Normal file
|
@ -0,0 +1 @@
|
|||
!printf '%s' "$kak_quoted_opt_my_ranges"<ret>
|
1
test/shell/quoted-range/in
Normal file
1
test/shell/quoted-range/in
Normal file
|
@ -0,0 +1 @@
|
|||
|
1
test/shell/quoted-range/out
Normal file
1
test/shell/quoted-range/out
Normal file
|
@ -0,0 +1 @@
|
|||
1 '1.1,1.1|a b' '1.2,1.2|b c'
|
1
test/shell/quoted-range/rc
Normal file
1
test/shell/quoted-range/rc
Normal file
|
@ -0,0 +1 @@
|
|||
declare-option range-specs my_ranges 1 '1.1,1.1|a b' '1.2,1.2|b c'
|
Loading…
Reference in New Issue
Block a user