Support values starting with - for in set-register command

Fixes #1220
This commit is contained in:
Maxime Coste 2017-07-25 11:38:13 +02:00
parent 337a38552b
commit d0dfcd2b78

View File

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