From e115eafa432fc8c5da20a0ab460b958054873c81 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Wed, 19 Dec 2018 00:43:37 +0900 Subject: Fix #5834: apidoc: wrong help for --tocfile --- sphinx/ext/apidoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/ext/apidoc.py') diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index 25f9275f7..0241d6239 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -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', -- cgit v1.2.1