Use single_param for ParameterDesc when relevant in command descs
This commit is contained in:
parent
d0dfcd2b78
commit
233a459dee
|
@ -742,7 +742,7 @@ const CommandDesc remove_highlighter_cmd = {
|
|||
"remove-highlighter",
|
||||
"rmhl",
|
||||
"remove-highlighter <name>: remove highlighter <name>",
|
||||
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 <command>: wait for next user key then and execute <command>, "
|
||||
"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 <selections_desc>: 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 <name>: change remote session name",
|
||||
ParameterDesc{{}, ParameterDesc::Flags::None, 1, 1},
|
||||
single_param,
|
||||
CommandFlags::None,
|
||||
CommandHelper{},
|
||||
CommandCompleter{},
|
||||
|
|
Loading…
Reference in New Issue
Block a user