mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
tools/docs: sphinx-build-wrapper: -q is a boolean, not an integer
As reported by Konstantin, sphinx-build -q is a boolean, not an integer. Fix the code. Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Closes: https://lore.kernel.org/all/871pnepxfy.fsf@trenco.lwn.net/ Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <cafa10cddce3e5342a66c73f3f51a17fb6c7f5d3.1759851791.git.mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Jonathan Corbet
parent
2bd22194b2
commit
e123e00a58
@@ -141,7 +141,7 @@ class SphinxBuilder:
|
||||
#
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('-j', '--jobs', type=int)
|
||||
parser.add_argument('-q', '--quiet', type=int)
|
||||
parser.add_argument('-q', '--quiet', action='store_true')
|
||||
|
||||
#
|
||||
# Other sphinx-build arguments go as-is, so place them
|
||||
|
||||
Reference in New Issue
Block a user