bpo-30636: Add PYTHONCOERCECLOCALE to the help of the command line (GH-2125)

This commit is contained in:
Stéphane Wirtel 2017-06-12 13:30:33 +02:00 committed by Nick Coghlan
parent b459f74826
commit 7d1017d9ed
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,9 @@ static const char usage_6[] =
"PYTHONMALLOC: set the Python memory allocators and/or install debug hooks\n"
" on Python memory allocators. Use PYTHONMALLOC=debug to install debug\n"
" hooks.\n";
static const char usage_7[] =
"PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale\n"
"coercion behavior\n";
static int
usage(int exitcode, const wchar_t* program)
@ -122,6 +125,7 @@ usage(int exitcode, const wchar_t* program)
fprintf(f, usage_4, (wint_t)DELIM);
fprintf(f, usage_5, (wint_t)DELIM, PYTHONHOMEHELP);
fputs(usage_6, f);
fputs(usage_7, f);
}
return exitcode;
}