Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b371cf

Browse files
committed
#10454: a few edits to compileall help messages
1 parent 29cf58c commit 3b371cf

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Lib/compileall.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def compile_path(skip_curdir=1, maxlevels=0, force=False, quiet=False,
142142
143143
Arguments (all optional):
144144
145-
skip_curdir: if true, skip current directory (default true)
145+
skip_curdir: if true, skip current directory (default True)
146146
maxlevels: max recursion level (default 0)
147147
force: as for compile_dir() (default False)
148148
quiet: as for compile_dir() (default False)
@@ -177,17 +177,17 @@ def main():
177177
help='use legacy (pre-PEP3147) compiled file locations')
178178
parser.add_argument('-d', metavar='DESTDIR', dest='ddir', default=None,
179179
help=('directory to prepend to file paths for use in '
180-
'compile time tracebacks and in runtime '
180+
'compile-time tracebacks and in runtime '
181181
'tracebacks in cases where the source file is '
182182
'unavailable'))
183183
parser.add_argument('-x', metavar='REGEXP', dest='rx', default=None,
184-
help=('skip files matching the regular expression. '
185-
'The regexp is searched for in the full path '
186-
'to each file considered for compilation.'))
184+
help=('skip files matching the regular expression; '
185+
'the regexp is searched for in the full path '
186+
'of each file considered for compilation'))
187187
parser.add_argument('-i', metavar='FILE', dest='flist',
188188
help=('add all the files and directories listed in '
189-
'FILE to the list considered for compilation. '
190-
'If "-", names are read from stdin.'))
189+
'FILE to the list considered for compilation; '
190+
'if "-", names are read from stdin'))
191191
parser.add_argument('compile_dest', metavar='FILE|DIR', nargs='*',
192192
help=('zero or more file and directory names '
193193
'to compile; if no arguments given, defaults '

0 commit comments

Comments
 (0)