core
This commit is contained in:
parent
7a2e151079
commit
5875cb1896
@ -95,7 +95,8 @@ pub fn core_main() -> Option<Vec<String>> {
|
|||||||
args.clear();
|
args.clear();
|
||||||
}
|
}
|
||||||
if args.len() > 0 && args[0] == "--version" {
|
if args.len() > 0 && args[0] == "--version" {
|
||||||
my_println!("{}", crate::VERSION);
|
// not use my_println here, because check super use using this command, no dialog expected
|
||||||
|
println!("{}", crate::VERSION);
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user