diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 3476957f155..7d18788696d 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 36cd3ccb21b..d713650c39f 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.