Skip to content

Commit 8399a7d

Browse files
committed
chore(cli): source CLI version from Cargo instead of a hardcoded string
main.rs hardcoded `#[command(version = "2.1.0")]`, four minor versions behind Cargo.toml (2.5.5). Switch to `#[command(version)]` so the version is read from CARGO_PKG_VERSION and cannot drift again. https://claude.ai/code/session_01K2TJLeQSyz4tpydZ18aRcb
1 parent f2143c5 commit 8399a7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ macro_rules! qprintln {
9393

9494
#[derive(Parser)]
9595
#[command(name = "panic-attack")]
96-
#[command(version = "2.1.0")]
96+
#[command(version)]
9797
#[command(about = "Universal stress testing and logic-based bug signature detection")]
9898
#[command(long_about = None)]
9999
#[command(disable_help_subcommand = true)]

0 commit comments

Comments
 (0)