diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-04-08 13:47:18 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-04-08 15:23:13 +0200 |
commit | 1a559793251e80952bd3bdc668cfda46cbc38e73 (patch) | |
tree | a6b2649ac895a75ff48766e24c01202a1ca6a376 /src/main.rs | |
parent | d39c819000569b468cfa68977f8a8b03062ac5d9 (diff) |
feat: add player namesmain
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 4852856..893b151 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,6 +26,8 @@ struct Cli { faction: Faction, #[arg(long, default_value = "1.0")] scale_factor: f32, + #[arg(long, default_value = "unknown")] + name: String, } fn main() { @@ -50,6 +52,7 @@ fn main() { cli.champion, cli.faction, cli.scale_factor, + cli.name, ); } else { let (from_server_send, from_server_recv) = crossbeam_channel::unbounded(); @@ -72,6 +75,7 @@ fn main() { cli.champion, cli.faction, cli.scale_factor, + cli.name, ); } } |