docs: correct documentation for COPY command syntax in README.md

This commit is contained in:
Emmanuel BENOîT 2025-04-11 12:08:09 +02:00
parent 0221e445af
commit 9aa115eb81
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -17,15 +17,14 @@ The script is initialized with four parameters:
The script supports the following commands:
### COPY
Copies a range of subtitles from one file to the output, preserving their original timing.
Copies subtitles from one file to the output, preserving their original timing.
**Syntax:**
```
COPY <source> <start> <end>
COPY <source> <index_or_range>
```
- `<source>`: The source SRT file (`srt1` or `srt2`).
- `<start>`: The starting index of the subtitles to copy.
- `<end>`: The ending index of the subtitles to copy.
- `<source>`: The source SRT file, specified as `1` or `2`.
- `<index_or_range>`: A single index or a range of indices (e.g., `5` or `5-10`).
### MAP
Maps text from one file to another with a time offset.