From 786b563a3f6e1da21f52f3b210de89daba3be897 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 28 Nov 2012 20:01:16 -0500 Subject: A few tweaks to the docs --- doc/api.rst | 2 +- doc/install.rst | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1