include commit-hash in version (#185)

This commit is contained in:
Ferdinand Schober
2024-09-02 19:46:07 +02:00
committed by GitHub
parent 8926d8f803
commit 1f7a7309eb
4 changed files with 17 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ impl ConfigToml {
}
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
#[command(author, version=env!("GIT_DESCRIBE"), about, long_about = None)]
struct CliArgs {
/// the listen port for lan-mouse
#[arg(short, long)]