Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
Readme and help updated
Browse files Browse the repository at this point in the history
  • Loading branch information
EAR committed Feb 7, 2021
1 parent c548f05 commit 792a7f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
metavar='path',
type=str,
nargs='+',
help='File to convert'
help='Files to convert (if directory traslates all srt files recursively)'
)

parser.add_argument(
Expand Down
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## Usage
```
main.py [-h] [-v] [-vv] [-s] [-i {language}] [-o {language}] path [path ...]
main.py [-h] [-v] [-vv] [-s] [-i {language}] [-o {language}] [-w WRAP_LIMIT] [-x] path [path ...]
Traslate a .SRT file using DeepL and Selenium
positional arguments:
path: File to convert
path: Files to convert (if directory traslates all srt files recursively)
optional arguments:
-h, --help: Show this help message and exit
Expand All @@ -18,6 +18,8 @@ optional arguments:
choices: { auto, chinese, dutch, english, french, german, italian, japanese, polish, portuguese, russian, spanish }
-o, --output-lang: Language to translate to
choices: { chinese, dutch, english-us, english-uk, french, german, italian, japanese, polish, portuguese, portuguese-br, russian, spanish}
-x, --delete: Delete files when traslated
-w WRAP_LIMIT, --wrap-limit WRAP_LIMIT: Number of characters to wrap the line. Including spaces
```

## Setup
Expand Down

0 comments on commit 792a7f8

Please sign in to comment.