mirror of
https://github.com/nikolassv/bartib
synced 2024-11-30 23:39:15 +00:00
fixed printed version
This commit is contained in:
parent
7e75bb6dba
commit
69a5bf2c9e
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
use anyhow::{bail, Context, Result};
|
||||
use chrono::{Datelike, Duration, Local, NaiveDate, NaiveTime};
|
||||
use clap::{App, AppSettings, Arg, ArgMatches, SubCommand};
|
||||
use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, crate_version};
|
||||
|
||||
use bartib::data::getter::ActivityFilter;
|
||||
#[cfg(windows)]
|
||||
|
@ -90,7 +90,7 @@ fn main() -> Result<()> {
|
|||
.takes_value(true);
|
||||
|
||||
let matches = App::new("bartib")
|
||||
.version("1.0.0")
|
||||
.version(crate_version!())
|
||||
.author("Nikolas Schmidt-Voigt <nikolas.schmidt-voigt@posteo.de>")
|
||||
.about("A simple timetracker")
|
||||
.setting(AppSettings::SubcommandRequiredElseHelp)
|
||||
|
|
Loading…
Reference in a new issue