R. David Murray <[email protected]> added the comment:
Here is a proposed patch to both docs and help output. The help output now
looks like this:
usage: compileall.py [-h] [-l] [-f] [-q] [-b] [-d DESTDIR] [-x REGEXP]
[-i FILE]
[FILE|DIR [FILE|DIR ...]]
Utilities to support installing Python libraries.
positional arguments:
FILE|DIR zero or more file and directory names to compile; if no
arguments given, defaults to the equivalent of -l sys.path
optional arguments:
-h, --help show this help message and exit
-l don't recurse into subdirectories
-f force rebuild even if timestamps are up to date
-q output only error messages
-b use legacy (pre-PEP3147) compiled file locations
-d DESTDIR directory to prepend to file paths for use in compile time
tracebacks and in runtime tracebacks in cases where the source
file is unavailable
-x REGEXP skip files matching the regular expression. The regexp is
searched for in the full path to each file considered for
compilation.
-i FILE add all the files and directories listed in FILE to the list
considered for compilation. If "-", names are read from stdin.
----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file20086/compileall_help.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10454>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com