Skip to content

Commit 599b4ff

Browse files
hugovkAA-Turner
andauthored
Enable suggest_on_error for argparse (#303)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent a601ce6 commit 599b4ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_docs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ def parse_args() -> argparse.Namespace:
967967
description="Runs a build of the Python docs for various branches.",
968968
allow_abbrev=False,
969969
)
970+
parser.suggest_on_error = True
970971
parser.add_argument(
971972
"--select-output",
972973
choices=("no-html", "only-html", "only-html-en"),

0 commit comments

Comments
 (0)