Commit 3b371cfe authored by Éric Araujo's avatar Éric Araujo

#10454: a few edits to compileall help messages

parent 29cf58c9
...@@ -142,7 +142,7 @@ def compile_path(skip_curdir=1, maxlevels=0, force=False, quiet=False, ...@@ -142,7 +142,7 @@ def compile_path(skip_curdir=1, maxlevels=0, force=False, quiet=False,
Arguments (all optional): 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) maxlevels: max recursion level (default 0)
force: as for compile_dir() (default False) force: as for compile_dir() (default False)
quiet: as for compile_dir() (default False) quiet: as for compile_dir() (default False)
...@@ -177,17 +177,17 @@ def main(): ...@@ -177,17 +177,17 @@ def main():
help='use legacy (pre-PEP3147) compiled file locations') help='use legacy (pre-PEP3147) compiled file locations')
parser.add_argument('-d', metavar='DESTDIR', dest='ddir', default=None, parser.add_argument('-d', metavar='DESTDIR', dest='ddir', default=None,
help=('directory to prepend to file paths for use in ' 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 ' 'tracebacks in cases where the source file is '
'unavailable')) 'unavailable'))
parser.add_argument('-x', metavar='REGEXP', dest='rx', default=None, parser.add_argument('-x', metavar='REGEXP', dest='rx', default=None,
help=('skip files matching the regular expression. ' help=('skip files matching the regular expression; '
'The regexp is searched for in the full path ' 'the regexp is searched for in the full path '
'to each file considered for compilation.')) 'of each file considered for compilation'))
parser.add_argument('-i', metavar='FILE', dest='flist', parser.add_argument('-i', metavar='FILE', dest='flist',
help=('add all the files and directories listed in ' help=('add all the files and directories listed in '
'FILE to the list considered for compilation. ' 'FILE to the list considered for compilation; '
'If "-", names are read from stdin.')) 'if "-", names are read from stdin'))
parser.add_argument('compile_dest', metavar='FILE|DIR', nargs='*', parser.add_argument('compile_dest', metavar='FILE|DIR', nargs='*',
help=('zero or more file and directory names ' help=('zero or more file and directory names '
'to compile; if no arguments given, defaults ' 'to compile; if no arguments given, defaults '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment