diff --git a/README.md b/README.md index 5dc1ba9..cac66f4 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ python json_translate /home/user/project/locales/en_US.json --locale ES --output ``` -l, --locale Target language to translate the file. Defaults to "en" (English) --sl, --source-locale Source language translating from (Required for glossaries). Defaults to "en" (English) +-sl, --source-locale Source language translating from (Optional, required for glossaries) -g, --glossary Glossary ID to use when translating (Optional) -o, --output Output file name. Defaults to ".json" (ex: en.json) -s, --sleep Sleep time between API calls. Defaults to 0.01 (seconds) diff --git a/json_translate/parser.py b/json_translate/parser.py index 905596a..6b1ea50 100644 --- a/json_translate/parser.py +++ b/json_translate/parser.py @@ -37,7 +37,6 @@ def get_parser(prog_name): parser.add_argument( "-sl", "--source-locale", - default="en", help="Language translating from (required for glossary)", ) parser.add_argument(