From 7d1017d9ed3285857e827635eda966da246dcd5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Mon, 12 Jun 2017 13:30:33 +0200 Subject: bpo-30636: Add PYTHONCOERCECLOCALE to the help of the command line (GH-2125) --- Modules/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/main.c b/Modules/main.c index 438cb2c..6a7e1d3 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -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; } -- cgit v0.12