lohr: v0.3.3

This commit is contained in:
Antoine Martin 2021-03-31 19:39:04 +02:00
parent 1506ce1dac
commit 29c0a4abdf
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ use std::sync::{
use std::thread;
use anyhow::Context;
use clap::{App, Arg};
use clap::{App, Arg, crate_version};
use log::{error, info};
use rocket::{http::Status, post, routes, State};
@ -94,7 +94,7 @@ fn parse_config(home: &Path, flags: &clap::ArgMatches) -> anyhow::Result<GlobalS
fn main() -> anyhow::Result<()> {
let matches = App::new("lohr")
.version("0.3.2")
.version(crate_version!())
.about("Git mirroring daemon")
.arg(
Arg::with_name("config")