Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c0bbfd

Browse files
committed
Issue #17203: add long option names to unittest discovery docs.
2 parents 600b711 + d69ad55 commit 8c0bbfd

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/library/unittest.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ The ``discover`` sub-command has the following options:
263263

264264
Verbose output
265265

266-
.. cmdoption:: -s directory
266+
.. cmdoption:: -s, --start-directory directory
267267

268268
Directory to start discovery (``.`` default)
269269

270-
.. cmdoption:: -p pattern
270+
.. cmdoption:: -p, --pattern pattern
271271

272272
Pattern to match test files (``test*.py`` default)
273273

274-
.. cmdoption:: -t directory
274+
.. cmdoption:: -t, --top-level-directory directory
275275

276276
Top level directory of project (defaults to start directory)
277277

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ Tools/Demos
748748
Documentation
749749
-------------
750750

751+
- Issue #17203: add long option names to unittest discovery docs.
752+
751753
- Issue #13094: add "Why do lambdas defined in a loop with different values
752754
all return the same result?" programming FAQ.
753755

0 commit comments

Comments
 (0)