mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5838 from tk0miya/5834_apidoc_wrong_help
Fix #5834: apidoc: wrong help for --tocfile
This commit is contained in:
commit
f8a3407c7c
1
CHANGES
1
CHANGES
@ -29,6 +29,7 @@ Bugs fixed
|
||||
* #5496 (again): C++, fix assertion in partial builds with duplicates.
|
||||
* #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty
|
||||
* #1956: Default conf.py is not PEP8-compliant
|
||||
* #5834: apidoc: wrong help for ``--tocfile``
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -341,7 +341,7 @@ Note: By default this script will not overwrite already created files."""))
|
||||
dest='includeprivate',
|
||||
help=__('include "_private" modules'))
|
||||
parser.add_argument('--tocfile', action='store', dest='tocfile', default='modules',
|
||||
help=__("don't create a table of contents file"))
|
||||
help=__("filename of table of contents (default: modules)"))
|
||||
parser.add_argument('-T', '--no-toc', action='store_false', dest='tocfile',
|
||||
help=__("don't create a table of contents file"))
|
||||
parser.add_argument('-E', '--no-headings', action='store_true',
|
||||
|
Loading…
Reference in New Issue
Block a user