From: Mauro Carvalho Chehab Date: Tue, 7 Oct 2025 15:43:12 +0000 (+0200) Subject: tools/docs: sphinx-build-wrapper: -q is a boolean, not an integer X-Git-Tag: v6.19-rc1~184^2~60^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e123e00a5872756644154f5ad8db2efbd1abdfca;p=thirdparty%2Fkernel%2Flinux.git 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 Closes: https://lore.kernel.org/all/871pnepxfy.fsf@trenco.lwn.net/ Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Konstantin Ryabitsev Signed-off-by: Jonathan Corbet Message-ID: --- diff --git a/tools/docs/sphinx-build-wrapper b/tools/docs/sphinx-build-wrapper index a74998e8309aa..3e6d166d41025 100755 --- a/tools/docs/sphinx-build-wrapper +++ b/tools/docs/sphinx-build-wrapper @@ -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