From 1ba01615dedd936625242724e19f6cf25e5aa0f3 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 30 Dec 2015 09:28:19 +0200 Subject: Fixed formatting comman-line usage message. --- Modules/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/main.c b/Modules/main.c index 2a9ea28..e4c955e 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -85,11 +85,11 @@ file : program read from script file\n\ arg ...: arguments passed to program in sys.argv[1:]\n\n\ Other environment variables:\n\ PYTHONSTARTUP: file executed on interactive startup (no default)\n\ -PYTHONPATH : '%c'-separated list of directories prefixed to the\n\ +PYTHONPATH : '%lc'-separated list of directories prefixed to the\n\ default module search path. The result is sys.path.\n\ "; static char *usage_5 = -"PYTHONHOME : alternate directory (or %c).\n" +"PYTHONHOME : alternate directory (or %lc).\n" " The default module search path uses %s.\n" "PYTHONCASEOK : ignore case in 'import' statements (Windows).\n" "PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n" @@ -114,8 +114,8 @@ usage(int exitcode, wchar_t* program) fputs(usage_1, f); fputs(usage_2, f); fputs(usage_3, f); - fprintf(f, usage_4, DELIM); - fprintf(f, usage_5, DELIM, PYTHONHOMEHELP); + fprintf(f, usage_4, (wint_t)DELIM); + fprintf(f, usage_5, (wint_t)DELIM, PYTHONHOMEHELP); fputs(usage_6, f); } return exitcode; -- cgit v0.12