src: Fix on-key usage docstring

This commit is contained in:
Frank LENORMAND 2021-09-09 08:22:43 +03:00 committed by GitHub
parent b3a1017a26
commit 4b77d011e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2229,7 +2229,7 @@ const CommandDesc menu_cmd = {
const CommandDesc on_key_cmd = { const CommandDesc on_key_cmd = {
"on-key", "on-key",
nullptr, nullptr,
"on-key <command>: wait for next user key and then execute <command>, " "on-key [<switches>] <command>: wait for next user key and then execute <command>, "
"with key available in the `key` value", "with key available in the `key` value",
ParameterDesc{ ParameterDesc{
{ { "mode-name", { true, "set mode name to use" } } }, { { "mode-name", { true, "set mode name to use" } } },