From 00cea034225a76993996afc9f5b6253de9acf651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20B=C3=A4ck?= Date: Thu, 9 Jan 2025 17:31:44 +0100 Subject: [PATCH] Fix typos --- bump_definitions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bump_definitions.py b/bump_definitions.py index b8c3e772..2884a233 100755 --- a/bump_definitions.py +++ b/bump_definitions.py @@ -35,8 +35,8 @@ def _bump_versions(root: Path, position: str, pattern: str) -> List[Path]: """Find definition files in the given directory, match their types - against the given glob pnattern, and create new files with version - bumps in the selected position. Returns the paths of the created + against the given glob pattern, and create new files with version + bumps in the selected position. Return the paths of the created files. """ result = [] @@ -99,7 +99,7 @@ def _transform_definition( argparser.add_argument( "pattern", metavar="TYPE_PATTERN", - help="XXX", + help="a glob pattern that selects which types should be bumped", ) args = argparser.parse_args(sys.argv[1:]) for path in _bump_versions(Path("definitions"), args.position, args.pattern):