summaryrefslogtreecommitdiff
path: root/minecctl/minecctl-commands.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-28 19:25:20 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-28 19:25:20 +0200
commit8f29a4d23dd13a80aa26951b17e2a71f4e651cb1 (patch)
treed09dee2d148e781d31ffd7e95581bf155a9f050f /minecctl/minecctl-commands.h
parent105ad577b367cfda224f0cbcf9f7e688615437e0 (diff)
Introduce the possibility of specifying serveral commands in one go
Diffstat (limited to 'minecctl/minecctl-commands.h')
-rw-r--r--minecctl/minecctl-commands.h5
1 files changed, 5 insertions, 0 deletions
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,
};
@@ -45,6 +46,10 @@ static struct command_list {
.cmd = CMD_COMMAND,
},
{
+ .name = "cmds",
+ .cmd = CMD_COMMANDS,
+ },
+ {
.name = "console",
.cmd = CMD_CONSOLE,
},