diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-01 18:00:33 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-01 18:00:33 (GMT) |
commit | 3b371cfeb81acf571f8af9ff508acfd420b3ea8b (patch) | |
tree | 39c69da333458305aeaba191e0741629791d1c1f /Lib/compileall.py | |
parent | 29cf58c9d56ee488ab12ae0110baa900f36f6ec6 (diff) | |
download | cpython-3b371cfeb81acf571f8af9ff508acfd420b3ea8b.zip cpython-3b371cfeb81acf571f8af9ff508acfd420b3ea8b.tar.gz cpython-3b371cfeb81acf571f8af9ff508acfd420b3ea8b.tar.bz2 |
#10454: a few edits to compileall help messages
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r-- | Lib/compileall.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py index 743be27..d3cff6a 100644 --- a/Lib/compileall.py +++ b/Lib/compileall.py @@ -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 true) + skip_curdir: if true, skip current directory (default True) 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. ' - 'The regexp is searched for in the full path ' - 'to each file considered for compilation.')) + help=('skip files matching the regular expression; ' + 'the 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 ' |