update main.rs

This commit is contained in:
2019-11-30 10:44:46 +08:00
parent 93e24e3b08
commit 8e15d49a98

View File

@@ -22,6 +22,7 @@ use opt::{
fn main() -> XResult<()> { fn main() -> XResult<()> {
let options = Options::new_and_parse_args()?; let options = Options::new_and_parse_args()?;
if options.version { if options.version {
// TODO ...
print_message(MessageType::INFO, "VERSION!!!"); print_message(MessageType::INFO, "VERSION!!!");
return Ok(()); return Ok(());
} }