From a6bc62f2ec850c2faff1e51b17d1f7f64f3cbb64 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 12 Jun 2025 17:37:31 +0300 Subject: [PATCH] Enable color and suggest_on_error for argparse --- build_docs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_docs.py b/build_docs.py index c75f096..d7b29a5 100755 --- a/build_docs.py +++ b/build_docs.py @@ -967,6 +967,8 @@ def parse_args() -> argparse.Namespace: description="Runs a build of the Python docs for various branches.", allow_abbrev=False, ) + parser.color = True + parser.suggest_on_error = True parser.add_argument( "--select-output", choices=("no-html", "only-html", "only-html-en"),