mirror of
https://github.com/nikolassv/bartib
synced 2025-03-01 21:37:16 +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 anyhow::{bail, Context, Result};
|
||||||
use chrono::{Datelike, Duration, Local, NaiveDate, NaiveTime};
|
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;
|
use bartib::data::getter::ActivityFilter;
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
@ -90,7 +90,7 @@ fn main() -> Result<()> {
|
||||||
.takes_value(true);
|
.takes_value(true);
|
||||||
|
|
||||||
let matches = App::new("bartib")
|
let matches = App::new("bartib")
|
||||||
.version("1.0.0")
|
.version(crate_version!())
|
||||||
.author("Nikolas Schmidt-Voigt <nikolas.schmidt-voigt@posteo.de>")
|
.author("Nikolas Schmidt-Voigt <nikolas.schmidt-voigt@posteo.de>")
|
||||||
.about("A simple timetracker")
|
.about("A simple timetracker")
|
||||||
.setting(AppSettings::SubcommandRequiredElseHelp)
|
.setting(AppSettings::SubcommandRequiredElseHelp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue