From fda71b0fce4115514fa85cf1d627e5f3673dba66 Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Sat, 28 Oct 2023 08:33:09 -0500 Subject: [PATCH] Add -h for help option Fixes #67 --- bumpversion/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bumpversion/cli.py b/bumpversion/cli.py index b746b406..652ad136 100644 --- a/bumpversion/cli.py +++ b/bumpversion/cli.py @@ -24,6 +24,7 @@ context_settings={ "ignore_unknown_options": True, "allow_interspersed_args": True, + "help_option_names": ["-h", "--help"], }, add_help_option=False, )