Skip to content

Commit

Permalink
Don't TypeError on 3.13 and older
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 20, 2024
1 parent 764d5c0 commit 7827b47
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/norwegianblue/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@

def main() -> None:
parser = argparse.ArgumentParser(
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter,
suggest_on_error=True,
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
)
# Added in Python 3.14
parser.suggest_on_error = True
parser.add_argument(
"product",
nargs="*",
Expand Down

0 comments on commit 7827b47

Please sign in to comment.