1
0
mirror of https://github.com/jht5945/finding.git synced 2025-12-27 21:20:05 +08:00

use package version

This commit is contained in:
2019-07-28 11:21:54 +08:00
parent 40e104cd6a
commit f376647b98

View File

@@ -13,7 +13,7 @@ use std::{
use argparse::{ArgumentParser, StoreTrue, Store};
use rust_util::*;
const VERSION: &str = "0.1";
const VERSION: &str = env!("CARGO_PKG_VERSION");
fn print_version() {
print!(r#"finding {}