diff --git a/src/commands.cc b/src/commands.cc index bf41ac88..9ea8b387 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -742,7 +742,7 @@ const CommandDesc remove_highlighter_cmd = { "remove-highlighter", "rmhl", "remove-highlighter : remove highlighter ", - ParameterDesc{ {}, ParameterDesc::Flags::None, 1, 1 }, + single_param, CommandFlags::None, CommandHelper{}, remove_highlighter_completer, @@ -1855,7 +1855,7 @@ const CommandDesc on_key_cmd = { nullptr, "on-key : wait for next user key then and execute , " "with key available in the `key` value", - ParameterDesc{ {}, ParameterDesc::Flags::None, 1, 1 }, + single_param, CommandFlags::None, CommandHelper{}, CommandCompleter{}, @@ -2021,7 +2021,7 @@ const CommandDesc select_cmd = { "select", nullptr, "select : select given selections", - ParameterDesc{{}, ParameterDesc::Flags::None, 1, 1}, + single_param, CommandFlags::None, CommandHelper{}, CommandCompleter{}, @@ -2060,7 +2060,7 @@ const CommandDesc rename_session_cmd = { "rename-session", nullptr, "rename-session : change remote session name", - ParameterDesc{{}, ParameterDesc::Flags::None, 1, 1}, + single_param, CommandFlags::None, CommandHelper{}, CommandCompleter{},