From 81ca06e4f1ea5628d315189bcbf5f4540593f14c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 18 Sep 2009 07:51:41 -0400 Subject: Command-line notes --- lab/cmd-opts.txt | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 lab/cmd-opts.txt diff --git a/lab/cmd-opts.txt b/lab/cmd-opts.txt new file mode 100644 index 0000000..5328ead --- /dev/null +++ b/lab/cmd-opts.txt @@ -0,0 +1,51 @@ +coverage -e -x foo.py +coverage run foo.py +coverage run --timid foo.py +coverage foo.py + + +commands: + + run -x + --timid bool + -p --parallel bool + -L --stdlib bool + --branch bool * + -a --append bool + + erase -e + + combine -c + + report -r + -m --missing bool + -i --ignore-errors bool + -o --omit list of string + + annotate -a + -d --output-directory string + -i --ignore-errors bool + -o --omit list of string + + html -b + -d --output-directory string + -i --ignore-errors bool + -o --omit list of string + --red * + --green * + --style * + + help + + byteprep * + + cobertura * + + + +Option scopes: + + - Cmd line + - coverage() + - ini file + - environment variable -- cgit v1.2.1