aboutsummaryrefslogtreecommitdiff
path: root/client/system/cli.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-21 17:05:24 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-21 17:05:24 +0200
commitfac1f9548120368303a5d6e652b920f1b6400e42 (patch)
tree999a5139758800eadfa177fc3eeeb677463244b5 /client/system/cli.gd
parent0ac9cedb4bd6a1a9bf3cbc04c3529b7881e1fec8 (diff)
downloadhurrycurry-fac1f9548120368303a5d6e652b920f1b6400e42.tar
hurrycurry-fac1f9548120368303a5d6e652b920f1b6400e42.tar.bz2
hurrycurry-fac1f9548120368303a5d6e652b920f1b6400e42.tar.zst
Add client CLI option for running command after join
Diffstat (limited to 'client/system/cli.gd')
-rw-r--r--client/system/cli.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/system/cli.gd b/client/system/cli.gd
index b6ba8eef..efaa309a 100644
--- a/client/system/cli.gd
+++ b/client/system/cli.gd
@@ -28,6 +28,7 @@ class Option:
static var OPTIONS := [
Option.new("h", "help", Mode.FLAG, "Show help"),
Option.new("s", "setting", Mode.MULTI_OPTION, "Per-launch setting override"),
+ Option.new("c", "join-command", Mode.OPTION, "Message to send right after initial joining"),
Option.new(null, "connect_address", Mode.POSITIONAL, "Connect to a server directly without menu interaction")
]