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

Skip to content

Commit d69ad55

Browse files
committed
Issue #17203: add long option names to unittest discovery docs.
1 parent 0f4377c commit d69ad55

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
@@ -304,15 +304,15 @@ The ``discover`` sub-command has the following options:
304304

305305
Verbose output
306306

307-
.. cmdoption:: -s directory
307+
.. cmdoption:: -s, --start-directory directory
308308

309309
Directory to start discovery (``.`` default)
310310

311-
.. cmdoption:: -p pattern
311+
.. cmdoption:: -p, --pattern pattern
312312

313313
Pattern to match test files (``test*.py`` default)
314314

315-
.. cmdoption:: -t directory
315+
.. cmdoption:: -t, --top-level-directory directory
316316

317317
Top level directory of project (defaults to start directory)
318318

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,8 @@ Tools/Demos
10701070
Documentation
10711071
-------------
10721072

1073+
- Issue #17203: add long option names to unittest discovery docs.
1074+
10731075
- Issue #13094: add "Why do lambdas defined in a loop with different values
10741076
all return the same result?" programming FAQ.
10751077

0 commit comments

Comments
 (0)