Fix parameter names in usage message (#6810)

This commit is contained in:
Daniel Hammerschmidt 2025-02-25 14:08:51 +01:00 committed by GitHub
parent 79f00bcaab
commit 38f5bf2e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4355,7 +4355,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
}
case 'agentmsg': {
if (args['_'].length == 0) {
response = "Proper usage:\r\n agentmsg add \"[message]\" [iconIndex]\r\n agentmsg remove [index]\r\n agentmsg list"; // Display usage
response = "Proper usage:\r\n agentmsg add \"[message]\" [iconIndex]\r\n agentmsg remove [id]\r\n agentmsg list"; // Display usage
} else {
if ((args['_'][0] == 'add') && (args['_'].length > 1)) {
var msgID, iconIndex = 0;