doc: target language is no longer required, put usage notes on readme.

git-svn-id: file:///srv/svn/repo/suwako/trunk@9 0b558ee1-521d-8b46-a41b-40029c97c055
This commit is contained in:
koizumi.aoi
2023-02-11 11:04:52 +00:00
parent 1d2d7d2020
commit 860fe77744
3 changed files with 20 additions and 5 deletions

14
README
View File

@@ -1,3 +1,17 @@
stcli
=====
Command-line client for SimplyTranslate in Go.
Usage
-----
-I string
Enter the text to be translated
-e string
Translation engine to use (default: google) (default "google")
-f string
Set the language to translate from. This can be skipped as it will autodetect the language you're translating from (default "auto")
-i string
Instance to use (default: https://simplytranslate.org/api/translate/) (default "https://simplytranslate.org/api/translate/")
-t string
Set the language to translate to (default: en) (default "en")