[PR #1935] [MERGED] fix(args): Add --svc alias for --service for backwards compatibility #2734

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

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1935
Author: @cfsmp3
Created: 12/30/2025
Status: Merged
Merged: 12/30/2025
Merged by: @cfsmp3

Base: masterHead: fix/svc-alias-backwards-compat


📝 Commits (1)

  • 674b859 fix(args): Add --svc alias for --service for backwards compatibility

📊 Changes

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

View changed files

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

📄 Description

Summary

  • Adds --svc as an alias for --service to maintain backwards compatibility

The help text references -svc for CEA-708 service selection, but the Rust argument parser only accepted --service. This adds --svc as an alias so existing documentation and user scripts continue to work.

Fixes #1917

Test plan

  • Verify --service 1 still works
  • Verify --svc 1 now works
  • Verify -svc 1 now works
  • Functional test with CEA-708 sample produces correct output

🤖 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/1935 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 12/30/2025 **Status:** ✅ Merged **Merged:** 12/30/2025 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `fix/svc-alias-backwards-compat` --- ### 📝 Commits (1) - [`674b859`](https://github.com/CCExtractor/ccextractor/commit/674b85928485349743e2425b6d0f06fc404ae8b6) fix(args): Add --svc alias for --service for backwards compatibility ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/rust/src/args.rs` (+1 -1) </details> ### 📄 Description ## Summary - Adds `--svc` as an alias for `--service` to maintain backwards compatibility The help text references `-svc` for CEA-708 service selection, but the Rust argument parser only accepted `--service`. This adds `--svc` as an alias so existing documentation and user scripts continue to work. Fixes #1917 ## Test plan - [x] Verify `--service 1` still works - [x] Verify `--svc 1` now works - [x] Verify `-svc 1` now works - [x] Functional test with CEA-708 sample produces correct output 🤖 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:23:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2734