]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add PYTHONUTF8 to commandline usage. (GH-17587)
authorInada Naoki <songofacandy@gmail.com>
Sat, 14 Dec 2019 05:27:32 +0000 (14:27 +0900)
committerGitHub <noreply@github.com>
Sat, 14 Dec 2019 05:27:32 +0000 (14:27 +0900)
Co-Authored-By: Victor Stinner <vstinner@python.org>
Python/initconfig.c

index 74c9ca007ed704b9f63b63ba86a73ad78c8b687d..2e46999932f8aafc13e5e63d79f81d90b632631f 100644 (file)
@@ -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[] =