Fix #5834: apidoc: wrong help for --tocfile

This commit is contained in:
Takeshi KOMIYA
2018-12-19 00:43:37 +09:00
parent 518c2f2e0e
commit e115eafa43
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ Bugs fixed
* #5636: C++, fix parsing of floating point literals.
* #5496 (again): C++, fix assertion in partial builds with duplicates.
* #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty
* #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',