[PR #2037] [MERGED] fix(rust): Correct version number in CLI parser #2841

Open
opened 2026-01-29 17:24:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/2037
Author: @cfsmp3
Created: 1/18/2026
Status: Merged
Merged: 1/18/2026
Merged by: @cfsmp3

Base: masterHead: fix/rust-version-number


📝 Commits (1)

  • c175750 fix(rust): Correct version number in CLI parser

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/rust/src/args.rs (+1 -1)

📄 Description

Summary

The Rust CLI parser was showing "CCExtractor 1.0" instead of the actual version (0.96.5).

Before:

$ ccextractor --help
CCExtractor 1.0, Carlos Fernandez Sanz, Volker Quetschke..

After:

$ ccextractor --help
CCExtractor 0.96.5, Carlos Fernandez Sanz, Volker Quetschke..

Root Cause

This was a placeholder value (#[command(version = "1.0")]) from when the parser was first ported to Rust in August 2024 (commit 9340cc7d) that was never updated to match the actual CCExtractor version.

Fix

Changed the hardcoded version in src/rust/src/args.rs from "1.0" to "0.96.5" to match the version defined in src/lib_ccx/lib_ccx.h.

Testing

  • Built successfully
  • Verified --version and --help now show correct version

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/2037 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 1/18/2026 **Status:** ✅ Merged **Merged:** 1/18/2026 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `fix/rust-version-number` --- ### 📝 Commits (1) - [`c175750`](https://github.com/CCExtractor/ccextractor/commit/c175750ebe312293acd15099941653742adf535f) fix(rust): Correct version number in CLI parser ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/rust/src/args.rs` (+1 -1) </details> ### 📄 Description ## Summary The Rust CLI parser was showing "CCExtractor 1.0" instead of the actual version (0.96.5). **Before:** ``` $ ccextractor --help CCExtractor 1.0, Carlos Fernandez Sanz, Volker Quetschke.. ``` **After:** ``` $ ccextractor --help CCExtractor 0.96.5, Carlos Fernandez Sanz, Volker Quetschke.. ``` ## Root Cause This was a placeholder value (`#[command(version = "1.0")]`) from when the parser was first ported to Rust in August 2024 (commit 9340cc7d) that was never updated to match the actual CCExtractor version. ## Fix Changed the hardcoded version in `src/rust/src/args.rs` from "1.0" to "0.96.5" to match the version defined in `src/lib_ccx/lib_ccx.h`. ## Testing - Built successfully - Verified `--version` and `--help` now show correct version --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:24:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2841