Ned Batchelder avatar Ned Batchelder committed b81c509

A few tweaks to the docs

Comments (0)

Files changed (2)

 
 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
 
     $ 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.