core
This commit is contained in:
parent
7a2e151079
commit
5875cb1896
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ pub fn core_main() -> Option<Vec<String>> {
|
|||
args.clear();
|
||||
}
|
||||
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;
|
||||
}
|
||||
#[cfg(windows)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue