summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2013-02-22 03:00:06 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2013-02-22 03:00:06 (GMT)
commit8c0bbfd101bae7ad2cb2c26aa2fdcb0d223b03dd (patch)
tree389f046e3aa6a3e07bd0419eba431ef3a200f6f7
parent600b71167e386de4a4259947935d14ac091c5741 (diff)
parentd69ad552202b1303e656013165983857cb308216 (diff)
downloadcpython-8c0bbfd101bae7ad2cb2c26aa2fdcb0d223b03dd.zip
cpython-8c0bbfd101bae7ad2cb2c26aa2fdcb0d223b03dd.tar.gz
cpython-8c0bbfd101bae7ad2cb2c26aa2fdcb0d223b03dd.tar.bz2
Issue #17203: add long option names to unittest discovery docs.
-rw-r--r--Doc/library/unittest.rst6
-rw-r--r--Misc/NEWS2
2 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 3476957..7d18788 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -263,15 +263,15 @@ The ``discover`` sub-command has the following options:
Verbose output
-.. cmdoption:: -s directory
+.. cmdoption:: -s, --start-directory directory
Directory to start discovery (``.`` default)
-.. cmdoption:: -p pattern
+.. cmdoption:: -p, --pattern pattern
Pattern to match test files (``test*.py`` default)
-.. cmdoption:: -t directory
+.. cmdoption:: -t, --top-level-directory directory
Top level directory of project (defaults to start directory)
diff --git a/Misc/NEWS b/Misc/NEWS
index 36cd3cc..d713650 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -748,6 +748,8 @@ Tools/Demos
Documentation
-------------
+- Issue #17203: add long option names to unittest discovery docs.
+
- Issue #13094: add "Why do lambdas defined in a loop with different values
all return the same result?" programming FAQ.