Minor updates to README

This commit is contained in:
Alexey Yerin 2021-01-22 12:23:09 +03:00
parent 73eafb0251
commit 34d65c8d51
1 changed files with 6 additions and 3 deletions

View File

@ -29,11 +29,13 @@ templates and static directories:
```sh
./gtranslate \
--template-dir /usr/share/webapps/gtranslate/templates \
--static-dir /usr/share/webapps/gtranslate/static
--static-dir /usr/share/webapps/gtranslate/static
```
Other settings (available via `./gtranslate --help`:
Other settings (available with `./gtranslate --help`):
```
Usage of ./gtranslate:
-b, --bind string Address to bind the server to, [addr]:port (default ":5000")
--proxy string Proxy URL, with no scheme http is assumed
--static-dir string Static files directory (default "./static")
@ -44,7 +46,8 @@ Other settings (available via `./gtranslate --help`:
If you want to proxy requests through Tor network, it's a good idea to
set User-Agent of Tor Browser so it will be harder to identify such
servers:
```
```sh
./gtranslate \
--user-agent "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0" \
...