diff options
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r-- | coverage/cmdline.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py index 99b155b2..7137852d 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -621,7 +621,7 @@ class CoverageScript(object): # they will be None if they have not been specified. if getattr(options, opt_name) is not None: self.help_fn( - "Options affecting multiprocessing must be specified " + "Options affecting multiprocessing must only be specified " "in a configuration file." ) return ERR @@ -636,8 +636,7 @@ class CoverageScript(object): if options.module: self.run_python_module(args[0], args) else: - filename = args[0] - self.run_python_file(filename, args) + self.run_python_file(args[0], args) except NoSource: code_ran = False raise |