From 34d65c8d5179380fb2f67aa2084b101267c36bee Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Fri, 22 Jan 2021 12:23:09 +0300 Subject: [PATCH] Minor updates to README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 018d16a..fbd0d55 100644 --- a/README.md +++ b/README.md @@ -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" \ ...