From 13874b33638f374190c45a22aed5f54ca3a6ad46 Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Mon, 15 Nov 2021 18:17:30 -0300 Subject: [PATCH] Add --join to the README's usage --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 72262e4..84cd7e6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ pip install fsub # Usage ``` -usage: fsub [-h] [-c] [-s MS] [-n] [-f FILE] file [file ...] +usage: fsub [-h] [-c] [-s MS] [-n] [-f FILE] [-j] file [file ...] Fix, edit and clean SubRip (.srt) files. @@ -26,6 +26,19 @@ optional arguments: -f FILE, --config-file FILE overwrite the default config file (Unix: $HOME/.config/fsubrc, Windows: %APPDATA%\fsubrc) + -j, --join join all files into the first, shifting their time accordingly (this + will delete files) +``` + +# Testing +Run all the tests with: +``` +python -m unittest tests +``` +Or, just the unit/integration tests: +``` +python -m unittest tests.unit +python -m unittest tests.integration ``` # Features