Support setting registers to empty lists

Note that empty registers still act as-if they contained a single
empty string.

Fixes #2228
This commit is contained in:
Maxime Coste 2018-07-23 08:35:13 +10:00
parent f27700cc53
commit bbb508634e

View File

@ -2124,7 +2124,7 @@ const CommandDesc set_register_cmd = {
"set-register", "set-register",
"reg", "reg",
"set-register <name> <values>...: set register <name> to <values>", "set-register <name> <values>...: set register <name> to <values>",
ParameterDesc{{}, ParameterDesc::Flags::SwitchesAsPositional, 2}, ParameterDesc{{}, ParameterDesc::Flags::SwitchesAsPositional, 1},
CommandFlags::None, CommandFlags::None,
CommandHelper{}, CommandHelper{},
CommandCompleter{}, CommandCompleter{},