Merge pull request #5838 from tk0miya/5834_apidoc_wrong_help

Fix #5834: apidoc: wrong help for --tocfile
This commit is contained in:
Takeshi KOMIYA 2018-12-20 22:33:24 +09:00 committed by GitHub
commit f8a3407c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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
--------

View File

@ -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',