Allow to use cmd without being in a window

This commit is contained in:
Paul Fariello
2018-07-02 08:10:01 +03:20
parent e555e41eaf
commit ec5fc3612f
3 changed files with 18 additions and 9 deletions

View File

@@ -2308,8 +2308,8 @@ static struct cmd_t command_defs[] =
CMD_NOMAINFUNC
CMD_NOTAGS
CMD_SYN(
"/cmd list",
"/cmd exec <command>")
"/cmd list [<jid>]",
"/cmd exec <command> [<jid>]")
CMD_DESC(
"Execute ad hoc commands.")
CMD_ARGS(