You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d2b8ea7
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): timeline delete --start/--end removes only that range (#5867)
* fix(cli): timeline delete --start/--end removes only that range
timeline delete accepted --start and --end but never read them, so a range
delete removed the whole clip. It now cuts out only that range, the same way
split, split, delete would, and keeps the parts before and after.
Every edit verb shared one flag set, so a verb silently ignored flags it does
not use. Each verb now declares only the options it reads, from one table that
also checks apply-plan keys, so an unused flag or key is refused before
anything is written.
* refactor(cli): name the per-verb option table instead of commenting it
|`move <ref> <time>`| Start the clip at `<time>`, keeping its length |
1133
1134
|`trim <ref>`| Change the clip's `--start`, `--end`, or `--duration` (at least one) |
1134
1135
|`split <ref> <time>`| Cut the clip in two at `<time>`|
1135
-
|`delete <ref>`| Remove the clip|
1136
+
|`delete <ref>`| Remove the clip, or only its `--start` to `--end` range, keeping the parts before and after|
1136
1137
|`set <ref> <field>=<value>`| Set `volume`, `rate` (playback rate) or `track` (a whole number) |
1137
1138
|`duplicate <ref>`| Copy the clip to `--at <time>` (default: right after the clip) |
1138
1139
|`apply <file>`| Apply a JSON array of edits, such as `[{"verb": "move", "ref": "#intro", "time": "+1"}]`, all or nothing. Pass `-` to read it from stdin. |
0 commit comments