From 8f29a4d23dd13a80aa26951b17e2a71f4e651cb1 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sun, 28 Jun 2020 19:25:20 +0200 Subject: Introduce the possibility of specifying serveral commands in one go --- minecctl/minecctl-commands.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'minecctl/minecctl-commands.h') diff --git a/minecctl/minecctl-commands.h b/minecctl/minecctl-commands.h index 2805a51..e8bb132 100644 --- a/minecctl/minecctl-commands.h +++ b/minecctl/minecctl-commands.h @@ -10,6 +10,7 @@ enum commands { CMD_STOPALL, CMD_PCOUNT, CMD_COMMAND, + CMD_COMMANDS, CMD_CONSOLE, }; @@ -44,6 +45,10 @@ static struct command_list { .name = "cmd", .cmd = CMD_COMMAND, }, + { + .name = "cmds", + .cmd = CMD_COMMANDS, + }, { .name = "console", .cmd = CMD_CONSOLE, -- cgit v1.2.3