From e65d9de023cf5b0e8033adec7b4cb71c101292b0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 24 Jan 2009 18:27:19 +0000 Subject: [PATCH] make -Q work --- CHANGES | 2 ++ sphinx/cmdline.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 618649b3a..05cab5366 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ Release 0.5.2 (in development) ============================== +* Actually make the ``-Q`` option work. + * #86: Fix explicit document titles in toctrees. * #81: Write environment and search index in a manner that is safe diff --git a/sphinx/cmdline.py b/sphinx/cmdline.py index 20767f0d4..c9a35c61a 100644 --- a/sphinx/cmdline.py +++ b/sphinx/cmdline.py @@ -56,7 +56,7 @@ def main(argv): nocolor() try: - opts, args = getopt.getopt(argv[1:], 'ab:d:c:CD:A:NEqP') + opts, args = getopt.getopt(argv[1:], 'ab:d:c:CD:A:NEqQP') allopts = set(opt[0] for opt in opts) srcdir = confdir = path.abspath(args[0]) if not path.isdir(srcdir):