From: Éric Araujo <merwok@netwok.org> Date: Sun, 21 Nov 2010 03:09:17 +0000 (+0000) Subject: Style edits in followup to r86521 (#9312) X-Git-Tag: v3.2b1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3309df40b5335ebf225a359e5cb3b324801e221;p=python Style edits in followup to r86521 (#9312) --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 2c822058ba..a25fd549f3 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -220,7 +220,7 @@ For a list of all the command-line options:: failfast, catch and buffer command-line options ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -:program:`unittest` supports three command-line options. +:program:`unittest` supports these command-line options: .. program:: unittest @@ -2040,7 +2040,7 @@ instead of as an error. Signal Handling --------------- -The :option:`-c` command-line option to unittest, along with the ``catchbreak`` +The ``-c``/``--catch`` command-line option to unittest, along with the ``catchbreak`` parameter to :func:`unittest.main()`, provide more friendly handling of control-C during a test run. With catch break behavior enabled control-C will allow the currently running test to complete, and the test run will then end