Use env!("CARGO_PKG_VERSION")
This commit is contained in:
parent
aed8a28aac
commit
15530a4287
|
@ -7,8 +7,7 @@ extern crate tokio;
|
||||||
fn main() {
|
fn main() {
|
||||||
let matches = App::new("hanimers")
|
let matches = App::new("hanimers")
|
||||||
.about("hanime.tv downloader in rust")
|
.about("hanime.tv downloader in rust")
|
||||||
// let's hope i remember to bump the version xd
|
.version(env!("CARGO_PKG_VERSION"))
|
||||||
.version("0.1.3")
|
|
||||||
.setting(AppSettings::SubcommandRequiredElseHelp)
|
.setting(AppSettings::SubcommandRequiredElseHelp)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("search")
|
SubCommand::with_name("search")
|
||||||
|
|
Loading…
Reference in New Issue