From dad2e11e30da32a7c6014fe0d5c6fb398e1830f4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 9 Dec 2009 22:11:00 -0500 Subject: Tidy up the command line notes. --- coverage/cmdline.py | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'coverage/cmdline.py') diff --git a/coverage/cmdline.py b/coverage/cmdline.py index c6659a0..e71b1d1 100644 --- a/coverage/cmdline.py +++ b/coverage/cmdline.py @@ -220,23 +220,6 @@ CMDS = { "missed with !." ), - 'help': CmdOptionParser("help", GLOBAL_ARGS, - usage = "[command]", - description = "Describe how to use coverage.py" - ), - - 'html': CmdOptionParser("html", - [ - Opts.directory, - Opts.ignore_errors, - Opts.omit, - ] + GLOBAL_ARGS, - usage = "[options] [modules]", - description = "Create an HTML report of the coverage of the files. " - "Each file gets its own page, with the source decorated to show " - "executed, excluded, and missed lines." - ), - 'combine': CmdOptionParser("combine", GLOBAL_ARGS, usage = " ", description = "Combine data from multiple coverage files collected " @@ -257,6 +240,23 @@ CMDS = { description = "Erase previously collected coverage data." ), + 'help': CmdOptionParser("help", GLOBAL_ARGS, + usage = "[command]", + description = "Describe how to use coverage.py" + ), + + 'html': CmdOptionParser("html", + [ + Opts.directory, + Opts.ignore_errors, + Opts.omit, + ] + GLOBAL_ARGS, + usage = "[options] [modules]", + description = "Create an HTML report of the coverage of the files. " + "Each file gets its own page, with the source decorated to show " + "executed, excluded, and missed lines." + ), + 'report': CmdOptionParser("report", [ Opts.ignore_errors, -- cgit v1.2.1