summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-07-24 23:49:45 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-07-24 23:49:45 +0900
commit327c1872841bc6a98aa766fc3d7ee921e6d3b658 (patch)
treed3424f7aadc4a3118eb7fb72e245b4fbe8391e58 /sphinx/setup_command.py
parentdc63eaf196d37c70410d37c3d28297fb513f7f6d (diff)
parent5b096c42ff3a907fa7bcce3fa620209da16d40bd (diff)
downloadsphinx-git-327c1872841bc6a98aa766fc3d7ee921e6d3b658.tar.gz
Merge branch '3.x'
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 2b0e4b74b..9965aa15a 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -105,7 +105,8 @@ class BuildDoc(Command):
self.config_dir = None # type: str
self.link_index = False
self.copyright = ''
- self.verbosity = 0
+ # Link verbosity to distutils' (which uses 1 by default).
+ self.verbosity = self.distribution.verbose - 1 # type: ignore
self.traceback = False
self.nitpicky = False
self.keep_going = False