summaryrefslogtreecommitdiff
path: root/sphinx/ext/apidoc.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-19 00:43:37 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-19 00:43:37 +0900
commite115eafa432fc8c5da20a0ab460b958054873c81 (patch)
tree0f8116a9d65646234f7299fcd3ea0ed2a2aa5083 /sphinx/ext/apidoc.py
parent518c2f2e0ec27e413ef6eb57d372428cccdce173 (diff)
downloadsphinx-git-e115eafa432fc8c5da20a0ab460b958054873c81.tar.gz
Fix #5834: apidoc: wrong help for --tocfile
Diffstat (limited to 'sphinx/ext/apidoc.py')
-rw-r--r--sphinx/ext/apidoc.py2
1 files changed, 1 insertions, 1 deletions
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',