diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-12-14 19:53:43 +0900 |
---|---|---|
committer | Ned Deily <nad@python.org> | 2019-12-18 13:38:18 -0500 |
commit | b4f98f412ad9c203c3d60101cf6fdc04415c0032 (patch) | |
tree | 6d9a3652af3aa30593188a1eef0ae417870aa48d | |
parent | 85924a45b7428255cc52c84bd44823db61798a54 (diff) | |
download | cpython-git-b4f98f412ad9c203c3d60101cf6fdc04415c0032.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.c | 1 |
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[] = |