summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api.rst2
-rw-r--r--doc/install.rst5
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/api.rst b/doc/api.rst
index 9ce1ee1e..fe59bc29 100644
--- a/doc/api.rst
+++ b/doc/api.rst
@@ -13,7 +13,7 @@ Coverage API
The API to coverage.py is very simple, contained in a single module called
`coverage`. Most of the interface is in a single class, also called
-`coverage`. Methods on the coverage object correspond to operations available
+`coverage`. Methods on the coverage object correspond roughly to operations available
in the command line interface. For example, a simple use would be::
import coverage
diff --git a/doc/install.rst b/doc/install.rst
index 91021b1b..8f5b68af 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -69,3 +69,8 @@ coverage installed properly::
$ coverage --version
Coverage.py, version 3.5.3. http://nedbatchelder.com/code/coverage
+
+You can also invoke coverage as a module::
+
+ $ python -m coverage --version
+ Coverage.py, version 3.5.3. http://nedbatchelder.com/code/coverage