summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r--coverage/cmdline.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index b2803c50..e2b79fef 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -82,14 +82,6 @@ class Opts(object):
'--skip-covered', action='store_true',
help="Skip files with 100% coverage.",
)
- SORT_CHOICES = ('Name', 'Stmts', 'Miss', 'Cover')
- sort = optparse.make_option(
- '--sort', action='store', choices=SORT_CHOICES,
- help=(
- "Sort report by a column. "
- "Valid values are: %s."
- ) % ", ".join(SORT_CHOICES)
- )
omit = optparse.make_option(
'', '--omit', action='store',
metavar="PAT1,PAT2,...",
@@ -343,7 +335,6 @@ CMDS = {
Opts.include,
Opts.omit,
Opts.show_missing,
- Opts.sort,
Opts.skip_covered,
] + GLOBAL_ARGS,
usage="[options] [modules]",
@@ -513,8 +504,7 @@ class CoverageScript(object):
if options.action == "report":
total = self.coverage.report(
show_missing=options.show_missing,
- skip_covered=options.skip_covered, sort_name=options.sort,
- **report_args)
+ skip_covered=options.skip_covered, **report_args)
elif options.action == "annotate":
self.coverage.annotate(
directory=options.directory, **report_args)