mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2025-12-18 02:18:51 +00:00
typo
This commit is contained in:
parent
2fe4496040
commit
f87289be54
@ -3,7 +3,7 @@ use clap::Parser;
|
|||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(author, version, about, long_about = None)]
|
#[command(author, version, about, long_about = None)]
|
||||||
pub struct Args {
|
pub struct Args {
|
||||||
/// Pass launch options to tink the behavior of the game
|
/// Pass launch options to tinker the behavior of the game
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub options: Option<String>,
|
pub options: Option<String>,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -192,6 +192,7 @@ async fn main() {
|
|||||||
GameState::get_game_dir()
|
GameState::get_game_dir()
|
||||||
.await
|
.await
|
||||||
.expect("Failed to start game, the game directory was not found"),
|
.expect("Failed to start game, the game directory was not found"),
|
||||||
|
args.options,
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user