Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1ba01615
Commit
1ba01615
authored
Dec 30, 2015
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed formatting comman-line usage message.
parent
ff8d0873
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Modules/main.c
Modules/main.c
+4
-4
No files found.
Modules/main.c
View file @
1ba01615
...
...
@@ -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 : '%
l
c'-separated list of directories prefixed to the
\n
\
default module search path. The result is sys.path.
\n
\
"
;
static
char
*
usage_5
=
"PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).
\n
"
"PYTHONHOME : alternate <prefix> directory (or <prefix>%
l
c<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, 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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment