aboutsummaryrefslogtreecommitdiff
path: root/server/editor
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-12-26 12:39:07 +0100
committermetamuffin <metamuffin@disroot.org>2024-12-26 12:39:07 +0100
commit01811610b169a0572417c1493ea606353fd1a327 (patch)
tree7f6f86fcd58ec2729ec7b528ef07aaf799acd72b /server/editor
parent96025ab4ff78c75a7c5cede469f252216c41db5d (diff)
downloadhurrycurry-01811610b169a0572417c1493ea606353fd1a327.tar
hurrycurry-01811610b169a0572417c1493ea606353fd1a327.tar.bz2
hurrycurry-01811610b169a0572417c1493ea606353fd1a327.tar.zst
doc editor commands
Diffstat (limited to 'server/editor')
-rw-r--r--server/editor/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/editor/src/main.rs b/server/editor/src/main.rs
index fc7f241b..cd0bdbec 100644
--- a/server/editor/src/main.rs
+++ b/server/editor/src/main.rs
@@ -32,13 +32,18 @@ struct Args {
#[derive(Parser)]
#[clap(multicall = true)]
pub enum Command {
+ /// Play the map on the game yerver
+ #[clap(alias = "p")]
Play,
+ /// Save current map to permanent storage
Save {
name: Option<String>,
},
+ /// Load map from storage
Load {
name: Option<String>,
},
+ /// Teleport to spawnpoint
Spawn {
#[arg(short, long)]
customer: bool,