diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-05-17 14:49:49 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-05-17 14:49:49 -0400 |
commit | 60f86b82ffe6ff40889f24ae8d25e338da2a92b7 (patch) | |
tree | b25c8a0109b70307d3856fa6a1a783bff2a2a666 | |
parent | 916a0c9278d83ad0fafc75fcdc80e03db8c3f257 (diff) | |
download | python-coveragepy-git-60f86b82ffe6ff40889f24ae8d25e338da2a92b7.tar.gz |
Make the bare help message a bit more helpful
-rw-r--r-- | coverage/cmdline.py | 2 | ||||
-rw-r--r-- | tests/test_cmdline.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py index 08e116b6..fefac4f7 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -818,7 +818,7 @@ HELP_TOPICS = { """, 'minimum_help': """\ - Code coverage for Python. Use '{program_name} help' for help. + Code coverage for Python, version {__version__} {extension_modifier}. Use '{program_name} help' for help. """, 'version': """\ diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 742df18b..2406d93d 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -791,7 +791,7 @@ class CmdLineStdoutTest(BaseCmdLineTest): def test_minimum_help(self): self.command_line("") out = self.stdout() - self.assertIn("Code coverage for Python.", out) + self.assertIn("Code coverage for Python", out) self.assertLess(out.count("\n"), 4) def test_version(self): |