5 Commits
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Changelog
# 0.3.1
- fixed some argument handling (negative offset, broken -M)
- update library versions (except clap, which made too many breaking changes and the interface actually got worse)
+2
View File
@@ -68,6 +68,7 @@ fn main() {
.short("m") .short("m")
.long("move") .long("move")
.value_name("OFFSET") .value_name("OFFSET")
.allow_hyphen_values(true)
.help("Move all subtitles in time (e.g 12:00.15 or -0:44)"), .help("Move all subtitles in time (e.g 12:00.15 or -0:44)"),
) )
.arg(clap::Arg::with_name("automove") .arg(clap::Arg::with_name("automove")
@@ -75,6 +76,7 @@ fn main() {
.long("automove") .long("automove")
.value_name("ENTRY=VIDEOTIME") .value_name("ENTRY=VIDEOTIME")
.multiple(true) .multiple(true)
.number_of_values(1)
.help("Move subtitles starting at a given time or index to align with \ .help("Move subtitles starting at a given time or index to align with \
a matching audio track time. This argument can be given multiple times. \ a matching audio track time. This argument can be given multiple times. \
Some subtitles may be dropped if they fall outside the timeline after \ Some subtitles may be dropped if they fall outside the timeline after \