From 01bd580f6146c80964fc7031c7b9f679dcdc183d Mon Sep 17 00:00:00 2001 From: Bot Bahlul <88623122+botbahlul@users.noreply.github.com> Date: Wed, 8 Nov 2023 00:43:27 +0800 Subject: [PATCH] Add files via upload --- translatesrt/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translatesrt/__init__.py b/translatesrt/__init__.py index c9d3e90..5263311 100644 --- a/translatesrt/__init__.py +++ b/translatesrt/__init__.py @@ -22,7 +22,7 @@ import shutil -VERSION = "0.0.3" +VERSION = "0.0.4" class Language: @@ -1252,7 +1252,7 @@ def is_valid_subtitle_file(subtitle_filepath, error_messages_callback=None): def main(): parser = argparse.ArgumentParser() - parser.add_argument('subtitle_file_path', help="Subtitle file path you want to translate", nargs='*') + parser.add_argument('subtitle_file_path', help="Subtitle file path you want to translate (use wildcard for multiple files or separate them with a space character e.g. \"file 1.srt\" \"file 2.srt\")", nargs='*') parser.add_argument('-S', '--src-language', help="Language code of subtitle file you want to translate", default="en") parser.add_argument('-D', '--dst-language', help="Desired translation language code for the subtitles", default=None) parser.add_argument('-ll', '--list-languages', help="List all supported languages", action='store_true')