summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-30 07:28:48 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-30 07:28:48 (GMT)
commitb5c7fc7a8e9baabcf2fee828083724548a11bf94 (patch)
tree66c5314d1593e8e771603246ece6c2604b9f42fc /Modules/main.c
parenta7161e7facdfa1d6f673beb16a95a647ce764b32 (diff)
parent1ba01615dedd936625242724e19f6cf25e5aa0f3 (diff)
downloadcpython-b5c7fc7a8e9baabcf2fee828083724548a11bf94.zip
cpython-b5c7fc7a8e9baabcf2fee828083724548a11bf94.tar.gz
cpython-b5c7fc7a8e9baabcf2fee828083724548a11bf94.tar.bz2
Fixed formatting comman-line usage message.
Diffstat (limited to 'Modules/main.c')
-rw-r--r--Modules/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 35d07fd..ee129a5 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 const char usage_5[] =
-"PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n"
+"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"
"PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n"
@@ -114,8 +114,8 @@ usage(int exitcode, const 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;