Skip to content

Commit

Permalink
update readme advanced usage on CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedie committed Mar 31, 2023
1 parent 131c2d1 commit af278dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ python -m srtranslator ./filepath/to/srt -i SRC_LANG -o DEST_LANG
## Advanced usage

```
usage: __main__.py [-h] [-i SRC_LANG] [-o DEST_LANG] [-v] [-vv] [-s] [-w WRAP_LIMIT] path
usage: __main__.py [-h] [-i SRC_LANG] [-o DEST_LANG] [-v] [-vv] [-s] [-w WRAP_LIMIT] [-t {deepl-scrap,translatepy,deepl-api}] [--auth AUTH] path
Translate an .STR file
Expand All @@ -79,4 +79,7 @@ options:
-s, --show-browser Show browser window
-w WRAP_LIMIT, --wrap-limit WRAP_LIMIT
Number of characters -including spaces- to wrap a line of text. Default: 50
-t {deepl-scrap,translatepy,deepl-api}, --translator {deepl-scrap,translatepy,deepl-api}
Built-in translator to use
--auth AUTH Api key if needed on translator
```

0 comments on commit af278dc

Please sign in to comment.