summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-12-14 19:53:43 +0900
committerVictor Stinner <vstinner@python.org>2019-12-14 11:53:43 +0100
commit26892c7d5fc761a7f0e5523937283a3deaaead76 (patch)
tree180fe29a1514afbf9642145b57ef4445dbe871c1
parentd3212036aa2510b9e133ba4bfaf1262d6bcbe7f0 (diff)
downloadcpython-git-26892c7d5fc761a7f0e5523937283a3deaaead76.tar.gz
Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)
Co-Authored-By: Victor Stinner <vstinner@python.org> (cherry picked from commit 95826c773a9004fc5b3c89de55f800504685ab21)
-rw-r--r--Modules/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c
index acc59c6c40..4d13184f2d 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -131,6 +131,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[] =