Skip to content

Commit b4050f6

Browse files
committed
Enable colour help for Python 3.14
1 parent f927d80 commit b4050f6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)