Skip to content

Commit 13cee16

Browse files
committed
Issue #17203: add long option names to unittest discovery docs.
1 parent 7d0eb4b commit 13cee16

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

Doc/library/unittest.rst

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

280280
Verbose output
281281

282-
.. cmdoption:: -s directory
282+
.. cmdoption:: -s, --start-directory directory
283283

284-
Directory to start discovery ('.' default)
284+
Directory to start discovery (``.`` default)
285285

286-
.. cmdoption:: -p pattern
286+
.. cmdoption:: -p, --pattern pattern
287287

288-
Pattern to match test files ('test*.py' default)
288+
Pattern to match test files (``test*.py`` default)
289289

290-
.. cmdoption:: -t directory
290+
.. cmdoption:: -t, --top-level-directory directory
291291

292292
Top level directory of project (defaults to start directory)
293293

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,8 @@ Tools/Demos
918918
Documentation
919919
-------------
920920

921+
- Issue #17203: add long option names to unittest discovery docs.
922+
921923
- Issue #13094: add "Why do lambdas defined in a loop with different values
922924
all return the same result?" programming FAQ.
923925

0 commit comments

Comments
 (0)