aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
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,
);
}
}