summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r--coverage/cmdline.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index 1fa52a97..eae22f2f 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -646,6 +646,9 @@ class CoverageScript:
show_contexts=options.show_contexts,
**report_args
)
+ else:
+ # There are no other possible actions.
+ raise AssertionError
if total is not None:
# Apply the command line fail-under options, and then use the config