Skip to content

Commit 674b859

Browse files
cfsmp3claude
andcommitted
fix(args): Add --svc alias for --service for 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 to maintain backwards compatibility with older documentation and user scripts. Fixes #1917 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 7284430 commit 674b859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ pub struct Args {
227227
/// "all[EUC-KR]") and it will encode specified charset to
228228
/// UTF-8 using iconv. See iconv documentation to check if
229229
/// required encoding/charset is supported.
230-
#[arg(long="service", value_name="services", verbatim_doc_comment, help_heading=OPTION_AFFECT_PROCESSED)]
230+
#[arg(long="service", alias="svc", value_name="services", verbatim_doc_comment, help_heading=OPTION_AFFECT_PROCESSED)]
231231
pub cea708services: Option<String>,
232232
/// With the exception of McPoodle's raw format, which is just the closed
233233
/// caption data with no other info, CCExtractor can usually detect the

0 commit comments

Comments
 (0)