diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-24 21:03:16 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-24 21:03:16 -0400 |
commit | ea3b37c5b62d835ab301d7f35da72d3e4b2f3292 (patch) | |
tree | 1b0a256e990ff23fecd2998824a7eda98dcf7824 /coverage/cmdline.py | |
parent | 9b5790f0af4ef9a110c3e76686dc7b67a9a14ba1 (diff) | |
download | python-coveragepy-ea3b37c5b62d835ab301d7f35da72d3e4b2f3292.tar.gz |
"concurrency" is a better name that "coroutine"
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r-- | coverage/cmdline.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py index c723fa9..51aa5fe 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -19,9 +19,9 @@ class Opts(object): '', '--branch', action='store_true', help="Measure branch coverage in addition to statement coverage." ) - coroutine = optparse.make_option( - '', '--coroutine', action='store', metavar="LIB", - help="Properly measure code using coroutines." + concurrency = optparse.make_option( + '', '--concurrency', action='store', metavar="LIB", + help="Properly measure code using a concurrency library." ) debug = optparse.make_option( '', '--debug', action='store', metavar="OPTS", @@ -125,7 +125,7 @@ class CoverageOptionParser(optparse.OptionParser, object): self.set_defaults( actions=[], branch=None, - coroutine=None, + concurrency=None, debug=None, directory=None, fail_under=None, @@ -320,7 +320,7 @@ CMDS = { [ Opts.append, Opts.branch, - Opts.coroutine, + Opts.concurrency, Opts.debug, Opts.pylib, Opts.parallel_mode, @@ -429,7 +429,7 @@ class CoverageScript(object): omit = omit, include = include, debug = debug, - coroutine = options.coroutine, + concurrency = options.concurrency, ) if 'debug' in options.actions: |