From d69ad552202b1303e656013165983857cb308216 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Thu, 21 Feb 2013 18:54:43 -0800 Subject: [PATCH] Issue #17203: add long option names to unittest discovery docs. --- Doc/library/unittest.rst | 6 +++--- Misc/NEWS | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 4422533d02f..4edc89e4231 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -304,15 +304,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 401228efc5c..5d768ce2e19 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -1070,6 +1070,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.