diff --git a/DEV.md b/DEV.md new file mode 100644 index 0000000..cd562f4 --- /dev/null +++ b/DEV.md @@ -0,0 +1,10 @@ +# Development Instructions + +## Create a Release + +```bash +git commit -am "release: {VERSION}" +git tag "v{VERSION}" +git push +git push --tags +``` diff --git a/README.md b/README.md index 6970c64..c124226 100644 --- a/README.md +++ b/README.md @@ -59,23 +59,14 @@ Options: ### Sync Sync subs in the folder `subs` with the subs on track 0 of videos in the current working directory, outputting the synced subs to `synced/` -`subbub subtitles sync -s ./subs -o ./synced sync -r ./:0` +`subbub subtitles sync --subtitles-path ./subs --output ./synced --reference-subtitles ./:0` ### Combine Combine subs in the folder `ja` with the subs on track 1 of videos in current working directory, outputting them to `dual-ja/` -`subbub subtitles combine -s ./ja -o ./dual-ja -e ./:1` +`subbub subtitles combine --subtitles-path ./ja --output ./dual-ja --secondary-subtitles ./:1` ### Match Match subs in the folder `subs/` with the videos in the current working directory, moving the subs next to the videos -`subbub subtitles -i ./subs -o ./ match-videos` - -## Create a Release - -```bash -git commit -am "release: {VERSION}" -git tag "v{VERSION}" -git push -git push --tags -``` +`subbub subtitles match-videos --subtitles-path ./subs --output ./ --video-path ./` diff --git a/src/bin/subbub.rs b/src/bin/subbub.rs index e72e8cf..ced2221 100644 --- a/src/bin/subbub.rs +++ b/src/bin/subbub.rs @@ -180,7 +180,7 @@ enum SubtitlesCommand { #[command(flatten)] video_path: VideoArgs, /// the suffix to place at the end of the subtitles file to distinguish it from other subtitle files in the same directory - #[arg(short = 's', long)] + #[arg(short = 'x', long)] suffix: Option, }, /// adds given subtitle(s) (-s/--subtitles) to the given video(s) (-v/--video_path)