From: Chris Jerdonek Date: Fri, 22 Feb 2013 02:52:12 +0000 (-0800) Subject: Issue #17203: add long option names to unittest discovery docs. X-Git-Tag: v2.7.4rc1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13cee1696f385fc218bd9eaebc3e50700a8fd397;p=thirdparty%2FPython%2Fcpython.git Issue #17203: add long option names to unittest discovery docs. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 0a3f64b36a6f..76c5b1bbd4e8 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -279,15 +279,15 @@ The ``discover`` sub-command has the following options: Verbose output -.. cmdoption:: -s directory +.. cmdoption:: -s, --start-directory directory - Directory to start discovery ('.' default) + Directory to start discovery (``.`` default) -.. cmdoption:: -p pattern +.. cmdoption:: -p, --pattern pattern - Pattern to match test files ('test*.py' default) + 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 0b619fb40ee8..3a2543c0f054 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -918,6 +918,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.