mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #1942] [MERGED] fix(args): Add legacy aliases for backwards compatibility #2741
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1942
Author: @cfsmp3
Created: 12/31/2025
Status: ✅ Merged
Merged: 1/1/2026
Merged by: @cfsmp3
Base:
master← Head:fix/legacy-argument-aliases📝 Commits (2)
031f463fix(args): Add legacy aliases for backwards compatibilityf1681eefix(args): Add support for legacy -1, -2, -12 numeric options📊 Changes
2 files changed (+27 additions, -13 deletions)
View changed files
📝
src/rust/src/args.rs(+7 -7)📝
src/rust/src/lib.rs(+20 -6)📄 Description
Summary
normalize_legacy_option()which converts single-dash to double-dash, allow old scripts to continue workingAliases Added
-pat--parsePATpat-pmt--parsePMTpmt-noteletext--no-teletextnoteletext-noru--no-rollupnoru-nobom--no-bomnobom-noautotimeref--no-autotimerefnoautotimeref-noscte20--no-scte20noscte20Test plan
-pat✅-pmt✅-noteletext✅-noru✅-nobom✅-noautotimeref✅-noscte20✅🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.