Skip to content

Commit 5886f93

Browse files
fix: use CARGO_PKG_VERSION for setting the CLI version
1 parent 8fedf09 commit 5886f93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use clap::{ArgEnum, Parser, Subcommand};
1010

1111

1212
#[derive(Parser)]
13-
#[clap(name="Rusty Witcher 3 Debugger", version="v0.5.1")]
13+
#[clap(name="Rusty Witcher 3 Debugger", version=env!("CARGO_PKG_VERSION"))]
1414
#[clap(about="A standalone debugging tool for The Witcher 3 written in Rust", long_about=None)]
1515
struct Cli {
1616
#[clap(flatten)]

0 commit comments

Comments
 (0)