summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-12-14 05:27:32 (GMT)
committerGitHub <noreply@github.com>2019-12-14 05:27:32 (GMT)
commit95826c773a9004fc5b3c89de55f800504685ab21 (patch)
tree2bed05c7c51da2da8f5e4ee51ede45ae84b26900 /Python
parent8289e27393395ee903bd096d42e07c112d7f15c6 (diff)
downloadcpython-95826c773a9004fc5b3c89de55f800504685ab21.zip
cpython-95826c773a9004fc5b3c89de55f800504685ab21.tar.gz
cpython-95826c773a9004fc5b3c89de55f800504685ab21.tar.bz2
Add PYTHONUTF8 to commandline usage. (GH-17587)
Co-Authored-By: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python')
-rw-r--r--Python/initconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index 74c9ca0..2e46999 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -80,6 +80,7 @@ static const char usage_5[] =
"PYTHONHOME : alternate <prefix> directory (or <prefix>%lc<exec_prefix>).\n"
" The default module search path uses %s.\n"
"PYTHONCASEOK : ignore case in 'import' statements (Windows).\n"
+"PYTHONUTF8: if set to 1, enable the UTF-8 mode.\n"
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
"PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n";
static const char usage_6[] =