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",
|
"remove-highlighter",
|
||||||
"rmhl",
|
"rmhl",
|
||||||
"remove-highlighter <name>: remove highlighter <name>",
|
"remove-highlighter <name>: remove highlighter <name>",
|
||||||
ParameterDesc{ {}, ParameterDesc::Flags::None, 1, 1 },
|
single_param,
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
CommandHelper{},
|
CommandHelper{},
|
||||||
remove_highlighter_completer,
|
remove_highlighter_completer,
|
||||||
|
@ -1855,7 +1855,7 @@ const CommandDesc on_key_cmd = {
|
||||||
nullptr,
|
nullptr,
|
||||||
"on-key <command>: wait for next user key then and execute <command>, "
|
"on-key <command>: wait for next user key then and execute <command>, "
|
||||||
"with key available in the `key` value",
|
"with key available in the `key` value",
|
||||||
ParameterDesc{ {}, ParameterDesc::Flags::None, 1, 1 },
|
single_param,
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
CommandHelper{},
|
CommandHelper{},
|
||||||
CommandCompleter{},
|
CommandCompleter{},
|
||||||
|
@ -2021,7 +2021,7 @@ const CommandDesc select_cmd = {
|
||||||
"select",
|
"select",
|
||||||
nullptr,
|
nullptr,
|
||||||
"select <selections_desc>: select given selections",
|
"select <selections_desc>: select given selections",
|
||||||
ParameterDesc{{}, ParameterDesc::Flags::None, 1, 1},
|
single_param,
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
CommandHelper{},
|
CommandHelper{},
|
||||||
CommandCompleter{},
|
CommandCompleter{},
|
||||||
|
@ -2060,7 +2060,7 @@ const CommandDesc rename_session_cmd = {
|
||||||
"rename-session",
|
"rename-session",
|
||||||
nullptr,
|
nullptr,
|
||||||
"rename-session <name>: change remote session name",
|
"rename-session <name>: change remote session name",
|
||||||
ParameterDesc{{}, ParameterDesc::Flags::None, 1, 1},
|
single_param,
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
CommandHelper{},
|
CommandHelper{},
|
||||||
CommandCompleter{},
|
CommandCompleter{},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user