diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-08 18:03:10 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-08 18:03:10 +0100 |
commit | a7a68de71c2e9e8f714ec58053c9ea57fae70604 (patch) | |
tree | 568fed7f5d54270a7b648a8591f84c5a84f7ae94 | |
parent | 6c2cb1d5a54badcbd488fc4bd1d58ea03846369b (diff) | |
download | weareserver-a7a68de71c2e9e8f714ec58053c9ea57fae70604.tar weareserver-a7a68de71c2e9e8f714ec58053c9ea57fae70604.tar.bz2 weareserver-a7a68de71c2e9e8f714ec58053c9ea57fae70604.tar.zst |
fix short option collision
-rw-r--r-- | doc/resources.md | 10 | ||||
-rw-r--r-- | world/src/main.rs | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/resources.md b/doc/resources.md index 3add075..a6b885b 100644 --- a/doc/resources.md +++ b/doc/resources.md @@ -19,11 +19,11 @@ ## Prefab -| Key | Value Type | | -| ----------- | ----------------------- | --------- | -| mesh | Matrix3, Vec3, Resource | Multi key | -| light | Vec3, Resource | Multi key | -| environment | Resource | | +| Key | Value Type | | +| ----------- | ---------------------------- | --------- | +| mesh | Matrix3, Vec3, Res<MeshPart> | Multi key | +| light | Vec3, Res<LightPart> | Multi key | +| environment | Res<EnvironmentPart> | | ## MeshPart diff --git a/world/src/main.rs b/world/src/main.rs index 30fe8d4..7b5afc3 100644 --- a/world/src/main.rs +++ b/world/src/main.rs @@ -50,7 +50,7 @@ struct Args { #[arg(short, long)] push: bool, /// Spin the object - #[arg(short, long)] + #[arg(long)] spin: bool, /// Remove all other object from the world #[arg(short, long)] |