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
3b371cfe
Commit
3b371cfe
authored
Sep 01, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#10454: a few edits to compileall help messages
parent
29cf58c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Lib/compileall.py
Lib/compileall.py
+7
-7
No files found.
Lib/compileall.py
View file @
3b371cfe
...
...
@@ -142,7 +142,7 @@ def compile_path(skip_curdir=1, maxlevels=0, force=False, quiet=False,
Arguments (all optional):
skip_curdir: if true, skip current directory (default
t
rue)
skip_curdir: if true, skip current directory (default
T
rue)
maxlevels: max recursion level (default 0)
force: as for compile_dir() (default False)
quiet: as for compile_dir() (default False)
...
...
@@ -177,17 +177,17 @@ def main():
help
=
'use legacy (pre-PEP3147) compiled file locations'
)
parser
.
add_argument
(
'-d'
,
metavar
=
'DESTDIR'
,
dest
=
'ddir'
,
default
=
None
,
help
=
(
'directory to prepend to file paths for use in '
'compile
time tracebacks and in runtime '
'compile
-
time tracebacks and in runtime '
'tracebacks in cases where the source file is '
'unavailable'
))
parser
.
add_argument
(
'-x'
,
metavar
=
'REGEXP'
,
dest
=
'rx'
,
default
=
None
,
help
=
(
'skip files matching the regular expression
.
'
'
T
he regexp is searched for in the full path '
'
to each file considered for compilation.
'
))
help
=
(
'skip files matching the regular expression
;
'
'
t
he regexp is searched for in the full path '
'
of each file considered for compilation
'
))
parser
.
add_argument
(
'-i'
,
metavar
=
'FILE'
,
dest
=
'flist'
,
help
=
(
'add all the files and directories listed in '
'FILE to the list considered for compilation
.
'
'
If "-", names are read from stdin.
'
))
'FILE to the list considered for compilation
;
'
'
if "-", names are read from stdin
'
))
parser
.
add_argument
(
'compile_dest'
,
metavar
=
'FILE|DIR'
,
nargs
=
'*'
,
help
=
(
'zero or more file and directory names '
'to compile; if no arguments given, defaults '
...
...
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