mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 07:17:50 +00:00
Merge pull request #30 from diamante0018/main
maint(main): simply return out of the main function
This commit is contained in:
@@ -322,7 +322,7 @@ fn main() {
|
|||||||
println!(
|
println!(
|
||||||
"\nExample:\n alterware-launcher.exe iw4x --bonus --pass \"-console -nointro\""
|
"\nExample:\n alterware-launcher.exe iw4x --bonus --pass \"-console -nointro\""
|
||||||
);
|
);
|
||||||
std::process::exit(0);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if arg_bool(&args, "--version") || arg_bool(&args, "-v") {
|
if arg_bool(&args, "--version") || arg_bool(&args, "-v") {
|
||||||
@@ -342,7 +342,7 @@ fn main() {
|
|||||||
"mxve".bright_magenta().on_black().underline(),
|
"mxve".bright_magenta().on_black().underline(),
|
||||||
".de".on_black().underline()
|
".de".on_black().underline()
|
||||||
);
|
);
|
||||||
std::process::exit(0);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let install_path: PathBuf;
|
let install_path: PathBuf;
|
||||||
|
|||||||
Reference in New Issue
Block a user