Skip to content

Commit 73df98b

Browse files
authored
Enable colour help for Python 3.14 (#252)
2 parents f927d80 + b4050f6 commit 73df98b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/norwegianblue/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def main() -> None:
3131
parser = argparse.ArgumentParser(
3232
description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter
3333
)
34-
# Added in Python 3.14
34+
# Both added in Python 3.14
35+
parser.color = "yes"
3536
parser.suggest_on_error = True
3637
parser.add_argument(
3738
"product",

0 commit comments

Comments
 (0)